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

@ -201,6 +201,8 @@ All supported properties and their default values exposed from CSSStylePropertie
'blockSize': '0px'
'block-size': '0px'
'border': '0px rgb(0, 0, 0)'
'borderBlock': '0px rgb(0, 0, 0)'
'border-block': '0px rgb(0, 0, 0)'
'borderBlockColor': 'rgb(0, 0, 0)'
'border-block-color': 'rgb(0, 0, 0)'
'borderBlockEnd': '0px rgb(0, 0, 0)'
@ -255,6 +257,8 @@ All supported properties and their default values exposed from CSSStylePropertie
'border-image-source': 'none'
'borderImageWidth': '1'
'border-image-width': '1'
'borderInline': '0px rgb(0, 0, 0)'
'border-inline': '0px rgb(0, 0, 0)'
'borderInlineColor': 'rgb(0, 0, 0)'
'border-inline-color': 'rgb(0, 0, 0)'
'borderInlineEnd': '0px rgb(0, 0, 0)'