mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibWeb: Store GridTrackPlacement sub-values as StyleValues
Gets us one step closer to removing the `FooOrCalculated` classes
This commit is contained in:
Notes:
github-actions[bot]
2026-03-30 13:07:23 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/fe5d6471f05 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8676 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -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>
|
||||
Reference in New Issue
Block a user