LibWeb: Set correct longhands if grid-area subproperties are omitted

This commit is contained in:
Tim Ledbetter 2025-03-20 14:19:36 +00:00 committed by Sam Atkins
commit 2672fe99b7
Notes: github-actions[bot] 2025-03-20 17:00:40 +00:00
2 changed files with 6 additions and 6 deletions

View file

@ -2,8 +2,8 @@ Harness status: OK
Found 53 tests
44 Pass
9 Fail
46 Pass
7 Fail
Pass e.style['grid-area'] = "auto" should set grid-column-end
Pass e.style['grid-area'] = "auto" should set grid-column-start
Pass e.style['grid-area'] = "auto" should set grid-row-end
@ -16,10 +16,10 @@ Pass e.style['grid-area'] = "--a" should set grid-row-start
Pass e.style['grid-area'] = "--a" should not set unrelated longhands
Pass e.style['grid-area'] = "a / b" should set grid-column-end
Pass e.style['grid-area'] = "a / b" should set grid-column-start
Fail e.style['grid-area'] = "a / b" should set grid-row-end
Pass e.style['grid-area'] = "a / b" should set grid-row-end
Pass e.style['grid-area'] = "a / b" should set grid-row-start
Pass e.style['grid-area'] = "a / b" should not set unrelated longhands
Fail e.style['grid-area'] = "a / b / c" should set grid-column-end
Pass e.style['grid-area'] = "a / b / c" should set grid-column-end
Pass e.style['grid-area'] = "a / b / c" should set grid-column-start
Pass e.style['grid-area'] = "a / b / c" should set grid-row-end
Pass e.style['grid-area'] = "a / b / c" should set grid-row-start