mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Support non-literal integers in repeat()
We now support non-literal integers (i.e. `calc()` and tree counting functions) within `<track-repeat>` and `<fixed-repeat>`
This commit is contained in:
Notes:
github-actions[bot]
2026-03-30 13:06:43 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/3b3f06bfa38 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8676 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -2,8 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 25 tests
|
||||
|
||||
23 Pass
|
||||
2 Fail
|
||||
24 Pass
|
||||
1 Fail
|
||||
Fail Property grid-template-columns value 'none'
|
||||
Pass Property grid-template-columns value '1px'
|
||||
Pass Property grid-template-columns value '1px [a]'
|
||||
@@ -28,4 +28,4 @@ Pass Property grid-template-columns value '100% [a] repeat(auto-fit, [b] 200% [c
|
||||
Pass Property grid-template-columns value '[a] 1em repeat(1, 2em [b] 3em) 4em [d]'
|
||||
Pass Property grid-template-columns value '[a] 1em repeat(auto-fill, 2em [b] 3em) 4em [d]'
|
||||
Pass Property grid-template-columns value '[a] 1em repeat(auto-fit, 2em [b] 3em) 4em [d]'
|
||||
Fail Property grid-template-columns value 'repeat(calc(1 + 3 * sign(100em - 1px)), 150px)'
|
||||
Pass Property grid-template-columns value 'repeat(calc(1 + 3 * sign(100em - 1px)), 150px)'
|
||||
Reference in New Issue
Block a user