mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-09 02:21:53 +00:00
14 lines
466 B
HTML
14 lines
466 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
const e = document.createElement("div");
|
|
document.body.appendChild(e);
|
|
const definition = "0 calc(5px - 10px) 0 calc(2px + 3px)";
|
|
e.style.boxShadow = definition;
|
|
const computedStyle = getComputedStyle(e);
|
|
const serialized = computedStyle.boxShadow;
|
|
println(definition + " => " + serialized);
|
|
e.remove();
|
|
});
|
|
</script>
|