Files
ladybird/Tests/LibWeb/Text/input/css/style-attribute-serialization-with-var-in-grid-properties.html
Andreas Kling 29278038a2 LibWeb: Don't assume grid-related properties don't have var() in them
When serializing the "style" attribute, we were incorrectly assuming
that some of the grid-related CSS properties would never contain var()
substitution functions.

With this fixed, we can now book appointments on https://cal.com/ :^)
2025-08-18 21:18:16 +02:00

12 lines
338 B
HTML

<!doctype html>
<script src="../include.js"></script>
<script>
test(() => {
let e = document.createElement("div");
e.style.gridTemplateAreas = "var(--foo)";
e.style.gridTemplateColumns = "var(--bar)";
e.style.gridTemplateRows = "var(--baz)";
println(e.getAttribute("style"));
});
</script>