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

@ -2,12 +2,11 @@ Harness status: OK
Found 7 tests
1 Pass
6 Fail
Fail e.style['flex-flow'] = "column nowrap" should set the property value
Fail e.style['flex-flow'] = "nowrap column" should set the property value
7 Pass
Pass e.style['flex-flow'] = "column nowrap" should set the property value
Pass e.style['flex-flow'] = "nowrap column" should set the property value
Pass e.style['flex-flow'] = "wrap row-reverse" should set the property value
Fail e.style['flex-flow'] = "nowrap" should set the property value
Fail e.style['flex-flow'] = "row nowrap" should set the property value
Fail e.style['flex-flow'] = "wrap" should set the property value
Fail e.style['flex-flow'] = "row wrap" should set the property value
Pass e.style['flex-flow'] = "nowrap" should set the property value
Pass e.style['flex-flow'] = "row nowrap" should set the property value
Pass e.style['flex-flow'] = "wrap" should set the property value
Pass e.style['flex-flow'] = "row wrap" should set the property value