LibWeb: Support border-{block,inline} shorthands

Gains us 4 WPT tests
This commit is contained in:
Callum Law 2025-07-09 20:47:34 +12:00 committed by Sam Atkins
commit da40419c5b
Notes: github-actions[bot] 2025-07-09 09:12:04 +00:00
5 changed files with 41 additions and 8 deletions

View file

@ -2,10 +2,9 @@ Harness status: OK
Found 6 tests
4 Pass
2 Fail
Fail e.style['border-block'] = "1px dotted red" should set the property value
Fail e.style['border-block'] = "double" should set the property value
6 Pass
Pass e.style['border-block'] = "1px dotted red" should set the property value
Pass e.style['border-block'] = "double" should set the property value
Pass e.style['border-block-start'] = "green double thin" should set the property value
Pass e.style['border-block-start'] = "green" should set the property value
Pass e.style['border-block-end'] = "thin" should set the property value

View file

@ -2,10 +2,9 @@ Harness status: OK
Found 6 tests
4 Pass
2 Fail
Fail e.style['border-inline'] = "1px dotted red" should set the property value
Fail e.style['border-inline'] = "double" should set the property value
6 Pass
Pass e.style['border-inline'] = "1px dotted red" should set the property value
Pass e.style['border-inline'] = "double" should set the property value
Pass e.style['border-inline-start'] = "green double thin" should set the property value
Pass e.style['border-inline-start'] = "green" should set the property value
Pass e.style['border-inline-end'] = "thin" should set the property value