LibWeb: Don't collapse serialized comma separated StyleValueLists

This commit is contained in:
Callum Law
2025-12-08 01:25:27 +13:00
committed by Sam Atkins
parent 68d07355ed
commit 233146421a
Notes: github-actions[bot] 2025-12-08 11:47:57 +00:00
21 changed files with 66 additions and 80 deletions

View File

@@ -2,8 +2,7 @@ Harness status: OK
Found 43 tests
42 Pass
1 Fail
43 Pass
Pass e.style['position-try-fallbacks'] = "initial" should set the property value
Pass e.style['position-try-fallbacks'] = "inherit" should set the property value
Pass e.style['position-try-fallbacks'] = "unset" should set the property value
@@ -13,7 +12,7 @@ Pass e.style['position-try-fallbacks'] = "flip-block" should set the property va
Pass e.style['position-try-fallbacks'] = "flip-block " should set the property value
Pass e.style['position-try-fallbacks'] = "flip-start, flip-block" should set the property value
Pass e.style['position-try-fallbacks'] = "flip-start flip-inline, flip-block" should set the property value
Fail e.style['position-try-fallbacks'] = "flip-start, flip-start" should set the property value
Pass e.style['position-try-fallbacks'] = "flip-start, flip-start" should set the property value
Pass e.style['position-try-fallbacks'] = "flip-start flip-inline flip-block" should set the property value
Pass e.style['position-try-fallbacks'] = "flip-block, --foo" should set the property value
Pass e.style['position-try-fallbacks'] = "--bar, flip-block flip-start" should set the property value