mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
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/ :^)
12 lines
338 B
HTML
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>
|