LibWeb: Store GridTrackPlacement sub-values as StyleValues

Gets us one step closer to removing the `FooOrCalculated` classes
This commit is contained in:
Callum Law
2026-02-22 22:41:24 +13:00
committed by Sam Atkins
parent a4fa630941
commit fe5d6471f0
Notes: github-actions[bot] 2026-03-30 13:07:23 +00:00
6 changed files with 51 additions and 44 deletions

View File

@@ -0,0 +1,17 @@
<!doctype html>
<style>
#foo {
grid-row-start: sibling-count();
}
#bar {
grid-row-start: span sibling-count();
}
</style>
<script src="../include.js"></script>
<script>
test(() => {
println(document.styleSheets[0].cssRules[0].cssText);
println(document.styleSheets[0].cssRules[1].cssText);
});
</script>