LibWeb: Add generic functionality for logical alias computed values

This commit is contained in:
Callum Law 2025-06-18 18:53:33 +12:00 committed by Sam Atkins
commit 34a52baeed
Notes: github-actions[bot] 2025-06-23 14:20:34 +00:00
8 changed files with 339 additions and 144 deletions

View file

@ -201,22 +201,22 @@ All supported properties and their default values exposed from CSSStylePropertie
'blockSize': '0px'
'block-size': '0px'
'border': '0px rgb(0, 0, 0)'
'borderBlockEnd': 'rgb(0, 0, 0)'
'border-block-end': 'rgb(0, 0, 0)'
'borderBlockEnd': '0px rgb(0, 0, 0)'
'border-block-end': '0px rgb(0, 0, 0)'
'borderBlockEndColor': 'rgb(0, 0, 0)'
'border-block-end-color': 'rgb(0, 0, 0)'
'borderBlockEndStyle': 'none'
'border-block-end-style': 'none'
'borderBlockEndWidth': 'medium'
'border-block-end-width': 'medium'
'borderBlockStart': 'rgb(0, 0, 0)'
'border-block-start': 'rgb(0, 0, 0)'
'borderBlockEndWidth': '0px'
'border-block-end-width': '0px'
'borderBlockStart': '0px rgb(0, 0, 0)'
'border-block-start': '0px rgb(0, 0, 0)'
'borderBlockStartColor': 'rgb(0, 0, 0)'
'border-block-start-color': 'rgb(0, 0, 0)'
'borderBlockStartStyle': 'none'
'border-block-start-style': 'none'
'borderBlockStartWidth': 'medium'
'border-block-start-width': 'medium'
'borderBlockStartWidth': '0px'
'border-block-start-width': '0px'
'borderBottom': '0px rgb(0, 0, 0)'
'border-bottom': '0px rgb(0, 0, 0)'
'borderBottomColor': 'rgb(0, 0, 0)'
@ -233,22 +233,22 @@ All supported properties and their default values exposed from CSSStylePropertie
'border-collapse': 'separate'
'borderColor': 'rgb(0, 0, 0)'
'border-color': 'rgb(0, 0, 0)'
'borderInlineEnd': 'rgb(0, 0, 0)'
'border-inline-end': 'rgb(0, 0, 0)'
'borderInlineEnd': '0px rgb(0, 0, 0)'
'border-inline-end': '0px rgb(0, 0, 0)'
'borderInlineEndColor': 'rgb(0, 0, 0)'
'border-inline-end-color': 'rgb(0, 0, 0)'
'borderInlineEndStyle': 'none'
'border-inline-end-style': 'none'
'borderInlineEndWidth': 'medium'
'border-inline-end-width': 'medium'
'borderInlineStart': 'rgb(0, 0, 0)'
'border-inline-start': 'rgb(0, 0, 0)'
'borderInlineEndWidth': '0px'
'border-inline-end-width': '0px'
'borderInlineStart': '0px rgb(0, 0, 0)'
'border-inline-start': '0px rgb(0, 0, 0)'
'borderInlineStartColor': 'rgb(0, 0, 0)'
'border-inline-start-color': 'rgb(0, 0, 0)'
'borderInlineStartStyle': 'none'
'border-inline-start-style': 'none'
'borderInlineStartWidth': 'medium'
'border-inline-start-width': 'medium'
'borderInlineStartWidth': '0px'
'border-inline-start-width': '0px'
'borderLeft': '0px rgb(0, 0, 0)'
'border-left': '0px rgb(0, 0, 0)'
'borderLeftColor': 'rgb(0, 0, 0)'
@ -500,12 +500,12 @@ All supported properties and their default values exposed from CSSStylePropertie
'max-inline-size': 'none'
'maxWidth': 'none'
'max-width': 'none'
'minBlockSize': '0px'
'min-block-size': '0px'
'minBlockSize': 'auto'
'min-block-size': 'auto'
'minHeight': 'auto'
'min-height': 'auto'
'minInlineSize': '0px'
'min-inline-size': '0px'
'minInlineSize': 'auto'
'min-inline-size': 'auto'
'minWidth': 'auto'
'min-width': 'auto'
'mixBlendMode': 'normal'

View file

@ -91,10 +91,10 @@ background-size: auto auto
block-size: 1350px
border-block-end-color: rgb(0, 0, 0)
border-block-end-style: none
border-block-end-width: medium
border-block-end-width: 0px
border-block-start-color: rgb(0, 0, 0)
border-block-start-style: none
border-block-start-width: medium
border-block-start-width: 0px
border-bottom-color: rgb(0, 0, 0)
border-bottom-left-radius: 0px
border-bottom-right-radius: 0px
@ -102,10 +102,10 @@ border-bottom-style: none
border-bottom-width: 0px
border-inline-end-color: rgb(0, 0, 0)
border-inline-end-style: none
border-inline-end-width: medium
border-inline-end-width: 0px
border-inline-start-color: rgb(0, 0, 0)
border-inline-start-style: none
border-inline-start-width: medium
border-inline-start-width: 0px
border-left-color: rgb(0, 0, 0)
border-left-style: none
border-left-width: 0px
@ -178,9 +178,9 @@ max-block-size: none
max-height: none
max-inline-size: none
max-width: none
min-block-size: 0px
min-block-size: auto
min-height: auto
min-inline-size: 0px
min-inline-size: auto
min-width: auto
mix-blend-mode: normal
object-fit: fill