LibWeb/CSS: Remove unnecessary shorthand serialization special cases

The serialization of these properties is improved by using the new
default behavior.
This commit is contained in:
Tim Ledbetter 2025-04-06 23:38:41 +01:00 committed by Sam Atkins
commit 263cb3f8ca
Notes: github-actions[bot] 2025-04-07 10:40:01 +00:00
5 changed files with 72 additions and 19 deletions

View file

@ -78,9 +78,9 @@ All supported properties and their default values exposed from CSSStylePropertie
'WebkitFlexDirection': 'row'
'webkitFlexDirection': 'row'
'-webkit-flex-direction': 'row'
'WebkitFlexFlow': 'row nowrap'
'webkitFlexFlow': 'row nowrap'
'-webkit-flex-flow': 'row nowrap'
'WebkitFlexFlow': 'row'
'webkitFlexFlow': 'row'
'-webkit-flex-flow': 'row'
'WebkitFlexGrow': '0'
'webkitFlexGrow': '0'
'-webkit-flex-grow': '0'
@ -322,8 +322,8 @@ All supported properties and their default values exposed from CSSStylePropertie
'flex-basis': 'auto'
'flexDirection': 'row'
'flex-direction': 'row'
'flexFlow': 'row nowrap'
'flex-flow': 'row nowrap'
'flexFlow': 'row'
'flex-flow': 'row'
'flexGrow': '0'
'flex-grow': '0'
'flexShrink': '1'
@ -432,8 +432,8 @@ All supported properties and their default values exposed from CSSStylePropertie
'letter-spacing': 'normal'
'lineHeight': 'normal'
'line-height': 'normal'
'listStyle': 'outside none disc'
'list-style': 'outside none disc'
'listStyle': 'outside'
'list-style': 'outside'
'listStyleImage': 'none'
'list-style-image': 'none'
'listStylePosition': 'outside'