mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Correctly parse the grid shorthand property
This commit is contained in:
committed by
Alexander Kalenik
parent
e863a04b12
commit
400a1332a6
Notes:
github-actions[bot]
2026-02-09 16:42:09 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/400a1332a60 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7848
@@ -2,21 +2,21 @@ Harness status: OK
|
||||
|
||||
Found 141 tests
|
||||
|
||||
119 Pass
|
||||
22 Fail
|
||||
139 Pass
|
||||
2 Fail
|
||||
Pass e.style.cssText = grid: auto-flow auto / 100px 100px should set grid
|
||||
Pass e.style.cssText = grid: auto-flow auto / 100px 100px should set grid-template-areas
|
||||
Pass e.style.cssText = grid: auto-flow auto / 100px 100px; grid-template-areas: "one two" "three four" should set grid
|
||||
Pass e.style.cssText = grid: auto-flow auto / 100px 100px; grid-template-areas: "one two" "three four" should set grid-auto-flow
|
||||
Pass e.style.cssText = grid: auto-flow auto / 100px 100px; grid-template-areas: "one two" "three four" should set grid-auto-rows
|
||||
Pass e.style.cssText = grid: auto-flow auto / 100px 100px; grid-template-areas: "one two" "three four" should set grid-template-areas
|
||||
Fail e.style.cssText = grid: 30px 40px / 50px 60px; grid-auto-flow: column should set grid
|
||||
Pass e.style.cssText = grid: 30px 40px / 50px 60px; grid-auto-flow: column should set grid
|
||||
Pass e.style.cssText = grid: 30px 40px / 50px 60px; grid-auto-flow: column should set grid-auto-flow
|
||||
Pass e.style.cssText = grid: 30px 40px / 50px 60px; grid-auto-flow: column should set grid-template
|
||||
Fail cssText ('grid: 30px 40px / 50px 60px; grid-auto-flow: column') must contain 'grid-template: 30px 40px / 50px 60px;' in its serialization
|
||||
Fail cssText ('grid: 30px 40px / 50px 60px; grid-auto-flow: column') must contain 'grid-auto-rows: auto;' in its serialization
|
||||
Fail cssText ('grid: 30px 40px / 50px 60px; grid-auto-flow: column') must contain 'grid-auto-columns: auto;' in its serialization
|
||||
Fail cssText ('grid: 30px 40px / 50px 60px; grid-auto-flow: column') must contain 'grid-auto-flow: column;' in its serialization
|
||||
Pass cssText ('grid: 30px 40px / 50px 60px; grid-auto-flow: column') must contain 'grid-template: 30px 40px / 50px 60px;' in its serialization
|
||||
Pass cssText ('grid: 30px 40px / 50px 60px; grid-auto-flow: column') must contain 'grid-auto-rows: auto;' in its serialization
|
||||
Pass cssText ('grid: 30px 40px / 50px 60px; grid-auto-flow: column') must contain 'grid-auto-columns: auto;' in its serialization
|
||||
Pass cssText ('grid: 30px 40px / 50px 60px; grid-auto-flow: column') must contain 'grid-auto-flow: column;' in its serialization
|
||||
Pass e.style.cssText = grid: auto-flow / 10px; grid-template-rows: 20px should set grid
|
||||
Pass e.style.cssText = grid: auto-flow / 10px; grid-template-rows: 20px should set grid-template
|
||||
Pass cssText ('grid: auto-flow / 10px; grid-template-rows: 20px') must contain 'grid: 20px / 10px;' in its serialization
|
||||
@@ -44,66 +44,66 @@ Pass e.style.cssText = grid: 1px / 2px; grid-auto-flow: row should set grid
|
||||
Pass e.style.cssText = grid: none / 2px; grid-auto-flow: row should set grid
|
||||
Pass e.style.cssText = grid: 1px / 2px; grid-auto-columns: auto should set grid
|
||||
Pass e.style.cssText = grid: 1px / 2px; grid-auto-rows: auto should set grid
|
||||
Fail e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: auto should set grid
|
||||
Fail e.style.cssText = grid: 1px / auto-flow; grid-auto-columns: auto should set grid
|
||||
Fail e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: auto should set grid
|
||||
Fail e.style.cssText = grid: auto-flow 1px / none; grid-auto-columns: auto should set grid
|
||||
Fail e.style.cssText = grid: auto-flow dense / 2px; grid-auto-rows: auto should set grid
|
||||
Fail e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: 3px should set grid
|
||||
Pass e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: auto should set grid
|
||||
Pass e.style.cssText = grid: 1px / auto-flow; grid-auto-columns: auto should set grid
|
||||
Pass e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: auto should set grid
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-auto-columns: auto should set grid
|
||||
Pass e.style.cssText = grid: auto-flow dense / 2px; grid-auto-rows: auto should set grid
|
||||
Pass e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: 3px should set grid
|
||||
Pass e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: 3px should set grid-auto-columns
|
||||
Pass e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: 3px should set grid-auto-flow
|
||||
Pass e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: 3px should set grid-auto-rows
|
||||
Pass e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: 3px should set grid-template-columns
|
||||
Pass e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: 3px should set grid-template-rows
|
||||
Fail e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: 3px should set grid
|
||||
Pass e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: 3px should set grid
|
||||
Pass e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: 3px should set grid-auto-columns
|
||||
Pass e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: 3px should set grid-auto-flow
|
||||
Pass e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: 3px should set grid-auto-rows
|
||||
Pass e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: 3px should set grid-template-columns
|
||||
Pass e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: 3px should set grid-template-rows
|
||||
Fail e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: 3px should set grid
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: 3px should set grid
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: 3px should set grid-auto-columns
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: 3px should set grid-auto-flow
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: 3px should set grid-auto-rows
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: 3px should set grid-template-columns
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: 3px should set grid-template-rows
|
||||
Fail e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(2, 3px) should set grid
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(2, 3px) should set grid
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(2, 3px) should set grid-auto-columns
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(2, 3px) should set grid-auto-flow
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(2, 3px) should set grid-auto-rows
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(2, 3px) should set grid-template-columns
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(2, 3px) should set grid-template-rows
|
||||
Fail e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fill, 3px) should set grid
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fill, 3px) should set grid
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fill, 3px) should set grid-auto-columns
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fill, 3px) should set grid-auto-flow
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fill, 3px) should set grid-auto-rows
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fill, 3px) should set grid-template-columns
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fill, 3px) should set grid-template-rows
|
||||
Fail e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fit, 3px) should set grid
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fit, 3px) should set grid
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fit, 3px) should set grid-auto-columns
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fit, 3px) should set grid-auto-flow
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fit, 3px) should set grid-auto-rows
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fit, 3px) should set grid-template-columns
|
||||
Pass e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fit, 3px) should set grid-template-rows
|
||||
Fail e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: 3px should set grid
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: 3px should set grid
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: 3px should set grid-auto-columns
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: 3px should set grid-auto-flow
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: 3px should set grid-auto-rows
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: 3px should set grid-template-columns
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: 3px should set grid-template-rows
|
||||
Fail e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(2, 3px) should set grid
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(2, 3px) should set grid
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(2, 3px) should set grid-auto-columns
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(2, 3px) should set grid-auto-flow
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(2, 3px) should set grid-auto-rows
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(2, 3px) should set grid-template-columns
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(2, 3px) should set grid-template-rows
|
||||
Fail e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fill, 3px) should set grid
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fill, 3px) should set grid
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fill, 3px) should set grid-auto-columns
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fill, 3px) should set grid-auto-flow
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fill, 3px) should set grid-auto-rows
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fill, 3px) should set grid-template-columns
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fill, 3px) should set grid-template-rows
|
||||
Fail e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fit, 3px) should set grid
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fit, 3px) should set grid
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fit, 3px) should set grid-auto-columns
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fit, 3px) should set grid-auto-flow
|
||||
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fit, 3px) should set grid-auto-rows
|
||||
|
||||
@@ -2,8 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 49 tests
|
||||
|
||||
38 Pass
|
||||
11 Fail
|
||||
48 Pass
|
||||
1 Fail
|
||||
Pass e.style['grid'] = "none" should set the property value
|
||||
Pass e.style['grid'] = "none / none" should set the property value
|
||||
Pass e.style['grid'] = "auto / auto" should set the property value
|
||||
@@ -42,14 +42,14 @@ Fail e.style['grid'] = "[a] \"a\" [a] \"b\" [a]" should set the property value
|
||||
Pass e.style['grid'] = "\"a\" \"a\" [a] \"b\" [a]" should set the property value
|
||||
Pass e.style['grid'] = "\"a\" [a] \"b\" [a] / 0" should set the property value
|
||||
Pass e.style['grid'] = "\"a\" \"a\" [a] [a] \"b\" / auto" should set the property value
|
||||
Fail e.style['grid'] = "100px / auto-flow dense 100px" should set the property value
|
||||
Fail e.style['grid'] = "auto-flow dense 1fr / 100px" should set the property value
|
||||
Fail e.style['grid'] = "100px / dense auto-flow 100px" should set the property value
|
||||
Fail e.style['grid'] = "dense auto-flow 1fr / 100px" should set the property value
|
||||
Fail e.style['grid'] = "100px / auto-flow 100px" should set the property value
|
||||
Fail e.style['grid'] = "auto-flow 1fr / 100px" should set the property value
|
||||
Fail e.style['grid'] = "none / auto-flow 100px" should set the property value
|
||||
Fail e.style['grid'] = "auto-flow 1fr / none" should set the property value
|
||||
Fail e.style['grid'] = "auto / auto-flow 100px" should set the property value
|
||||
Fail e.style['grid'] = "auto-flow 1fr / auto" should set the property value
|
||||
Pass e.style['grid'] = "100px / auto-flow dense 100px" should set the property value
|
||||
Pass e.style['grid'] = "auto-flow dense 1fr / 100px" should set the property value
|
||||
Pass e.style['grid'] = "100px / dense auto-flow 100px" should set the property value
|
||||
Pass e.style['grid'] = "dense auto-flow 1fr / 100px" should set the property value
|
||||
Pass e.style['grid'] = "100px / auto-flow 100px" should set the property value
|
||||
Pass e.style['grid'] = "auto-flow 1fr / 100px" should set the property value
|
||||
Pass e.style['grid'] = "none / auto-flow 100px" should set the property value
|
||||
Pass e.style['grid'] = "auto-flow 1fr / none" should set the property value
|
||||
Pass e.style['grid'] = "auto / auto-flow 100px" should set the property value
|
||||
Pass e.style['grid'] = "auto-flow 1fr / auto" should set the property value
|
||||
Pass e.style['grid'] = "1fr / 1fr" should set the property value
|
||||
Reference in New Issue
Block a user