LibWeb: Implement text-wrap-style CSS property

This commit is contained in:
Callum Law 2025-05-31 20:31:07 +12:00 committed by Sam Atkins
commit 9ba74316d2
Notes: github-actions[bot] 2025-06-04 11:49:41 +00:00
14 changed files with 140 additions and 5 deletions

View file

@ -0,0 +1,8 @@
Harness status: OK
Found 3 tests
3 Pass
Pass Property text-wrap-style value 'auto'
Pass Property text-wrap-style value 'balance'
Pass Property text-wrap-style value 'stable'

View file

@ -0,0 +1,17 @@
Harness status: OK
Found 12 tests
12 Pass
Pass e.style['text-wrap-style'] = "normal" should not set the property value
Pass e.style['text-wrap-style'] = "none" should not set the property value
Pass e.style['text-wrap-style'] = "wrap" should not set the property value
Pass e.style['text-wrap-style'] = "nowrap" should not set the property value
Pass e.style['text-wrap-style'] = "wrap wrap" should not set the property value
Pass e.style['text-wrap-style'] = "nowrap nowrap" should not set the property value
Pass e.style['text-wrap-style'] = "wrap nowrap" should not set the property value
Pass e.style['text-wrap-style'] = "pretty balance" should not set the property value
Pass e.style['text-wrap-style'] = "balance stable" should not set the property value
Pass e.style['text-wrap-style'] = "stable pretty" should not set the property value
Pass e.style['text-wrap-style'] = "delicious wrap" should not set the property value
Pass e.style['text-wrap-style'] = "5px" should not set the property value

View file

@ -0,0 +1,13 @@
Harness status: OK
Found 8 tests
8 Pass
Pass e.style['text-wrap-style'] = "auto" should set the property value
Pass e.style['text-wrap-style'] = "balance" should set the property value
Pass e.style['text-wrap-style'] = "stable" should set the property value
Pass e.style['text-wrap-style'] = "initial" should set the property value
Pass e.style['text-wrap-style'] = "inherit" should set the property value
Pass e.style['text-wrap-style'] = "unset" should set the property value
Pass e.style['text-wrap-style'] = "revert" should set the property value
Pass e.style['text-wrap-style'] = "revert-layer" should set the property value