LibWeb/CSS: Serialize contain values in canonical order

This commit is contained in:
Tim Ledbetter 2025-06-17 06:19:30 +01:00 committed by Sam Atkins
commit 96d8bed35b
Notes: github-actions[bot] 2025-06-17 07:18:54 +00:00
2 changed files with 32 additions and 24 deletions

View file

@ -2,8 +2,7 @@ Harness status: OK
Found 13 tests
9 Pass
4 Fail
13 Pass
Pass e.style['contain'] = "none" should set the property value
Pass e.style['contain'] = "strict" should set the property value
Pass e.style['contain'] = "content" should set the property value
@ -11,9 +10,9 @@ Pass e.style['contain'] = "size" should set the property value
Pass e.style['contain'] = "layout" should set the property value
Pass e.style['contain'] = "style" should set the property value
Pass e.style['contain'] = "paint" should set the property value
Fail e.style['contain'] = "layout size" should set the property value
Fail e.style['contain'] = "paint style" should set the property value
Pass e.style['contain'] = "layout size" should set the property value
Pass e.style['contain'] = "paint style" should set the property value
Pass e.style['contain'] = "layout style paint" should set the property value
Fail e.style['contain'] = "layout paint style size" should set the property value
Pass e.style['contain'] = "layout paint style size" should set the property value
Pass e.style['contain'] = "inline-size" should set the property value
Fail e.style['contain'] = "layout inline-size" should set the property value
Pass e.style['contain'] = "layout inline-size" should set the property value