LibWeb/CSS: Implement the ({min,max}-)block-size properties

These are heavily used by morrisons.com, using them in place of the
usual properties these map to.
This commit is contained in:
Luke Wilde 2025-01-29 14:17:52 +00:00 committed by Andreas Kling
commit 010cdd8f90
Notes: github-actions[bot] 2025-01-31 13:19:26 +00:00
7 changed files with 260 additions and 133 deletions

View file

@ -1,6 +1,6 @@
All supported properties and their default values exposed from CSSStyleDeclaration from getComputedStyle:
'cssText': ''
'length': '215'
'length': '218'
'parentRule': 'null'
'cssFloat': 'none'
'WebkitAlignContent': 'normal'
@ -183,6 +183,8 @@ All supported properties and their default values exposed from CSSStyleDeclarati
'background-repeat': 'repeat'
'backgroundSize': 'auto auto'
'background-size': 'auto auto'
'blockSize': 'auto'
'block-size': 'auto'
'border': 'medium none rgb(0, 0, 0)'
'borderBottom': 'medium none rgb(0, 0, 0)'
'border-bottom': 'medium none rgb(0, 0, 0)'
@ -437,12 +439,16 @@ All supported properties and their default values exposed from CSSStyleDeclarati
'math-shift': 'normal'
'mathStyle': 'normal'
'math-style': 'normal'
'maxBlockSize': 'none'
'max-block-size': 'none'
'maxHeight': 'none'
'max-height': 'none'
'maxInlineSize': 'none'
'max-inline-size': 'none'
'maxWidth': 'none'
'max-width': 'none'
'minBlockSize': '0px'
'min-block-size': '0px'
'minHeight': 'auto'
'min-height': 'auto'
'minInlineSize': '0px'