mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-01 15:18:06 +00:00
LibWeb: Implement text-wrap
CSS property
This resolves an issue introduced in 94f5a51
with the
tab-size-text-wrap test
This commit is contained in:
parent
9ba74316d2
commit
50cce72ab9
Notes:
github-actions[bot]
2025-06-04 11:49:35 +00:00
Author: https://github.com/Calme1709
Commit: 50cce72ab9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4943
Reviewed-by: https://github.com/AtkinsSJ ✅
12 changed files with 248 additions and 17 deletions
|
@ -0,0 +1,22 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 17 tests
|
||||
|
||||
17 Pass
|
||||
Pass Property text-wrap value 'wrap'
|
||||
Pass Property text-wrap value 'nowrap'
|
||||
Pass Property text-wrap value 'auto'
|
||||
Pass Property text-wrap value 'balance'
|
||||
Pass Property text-wrap value 'stable'
|
||||
Pass Property text-wrap value 'wrap auto'
|
||||
Pass Property text-wrap value 'wrap balance'
|
||||
Pass Property text-wrap value 'wrap stable'
|
||||
Pass Property text-wrap value 'auto wrap'
|
||||
Pass Property text-wrap value 'balance wrap'
|
||||
Pass Property text-wrap value 'stable wrap'
|
||||
Pass Property text-wrap value 'nowrap auto'
|
||||
Pass Property text-wrap value 'nowrap balance'
|
||||
Pass Property text-wrap value 'nowrap stable'
|
||||
Pass Property text-wrap value 'auto nowrap'
|
||||
Pass Property text-wrap value 'balance nowrap'
|
||||
Pass Property text-wrap value 'stable nowrap'
|
|
@ -0,0 +1,13 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 8 tests
|
||||
|
||||
8 Pass
|
||||
Pass e.style['text-wrap'] = "normal" should not set the property value
|
||||
Pass e.style['text-wrap'] = "none" should not set the property value
|
||||
Pass e.style['text-wrap'] = "wrap nowrap" should not set the property value
|
||||
Pass e.style['text-wrap'] = "pretty balance" should not set the property value
|
||||
Pass e.style['text-wrap'] = "balance stable" should not set the property value
|
||||
Pass e.style['text-wrap'] = "stable pretty" should not set the property value
|
||||
Pass e.style['text-wrap'] = "delicious wrap" should not set the property value
|
||||
Pass e.style['text-wrap'] = "5px" should not set the property value
|
|
@ -0,0 +1,19 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 14 tests
|
||||
|
||||
14 Pass
|
||||
Pass e.style['text-wrap'] = "pretty" should set the property value
|
||||
Pass e.style['text-wrap'] = "wrap pretty" should set the property value
|
||||
Pass e.style['text-wrap'] = "pretty wrap" should set the property value
|
||||
Pass e.style['text-wrap'] = "stable wrap" should set the property value
|
||||
Pass e.style['text-wrap'] = "nowrap pretty" should set the property value
|
||||
Pass e.style['text-wrap'] = "pretty nowrap" should set the property value
|
||||
Pass e.style['text-wrap-style'] = "pretty" should set the property value
|
||||
Pass Property text-wrap value 'pretty'
|
||||
Pass Property text-wrap value 'wrap pretty'
|
||||
Pass Property text-wrap value 'pretty wrap'
|
||||
Pass Property text-wrap value 'stable wrap'
|
||||
Pass Property text-wrap value 'nowrap pretty'
|
||||
Pass Property text-wrap value 'pretty nowrap'
|
||||
Pass Property text-wrap-style value 'pretty'
|
|
@ -0,0 +1,27 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 22 tests
|
||||
|
||||
22 Pass
|
||||
Pass e.style['text-wrap'] = "wrap" should set the property value
|
||||
Pass e.style['text-wrap'] = "nowrap" should set the property value
|
||||
Pass e.style['text-wrap'] = "auto" should set the property value
|
||||
Pass e.style['text-wrap'] = "balance" should set the property value
|
||||
Pass e.style['text-wrap'] = "stable" should set the property value
|
||||
Pass e.style['text-wrap'] = "wrap auto" should set the property value
|
||||
Pass e.style['text-wrap'] = "wrap balance" should set the property value
|
||||
Pass e.style['text-wrap'] = "wrap stable" should set the property value
|
||||
Pass e.style['text-wrap'] = "auto wrap" should set the property value
|
||||
Pass e.style['text-wrap'] = "balance wrap" should set the property value
|
||||
Pass e.style['text-wrap'] = "stable wrap" should set the property value
|
||||
Pass e.style['text-wrap'] = "nowrap auto" should set the property value
|
||||
Pass e.style['text-wrap'] = "nowrap balance" should set the property value
|
||||
Pass e.style['text-wrap'] = "nowrap stable" should set the property value
|
||||
Pass e.style['text-wrap'] = "auto nowrap" should set the property value
|
||||
Pass e.style['text-wrap'] = "balance nowrap" should set the property value
|
||||
Pass e.style['text-wrap'] = "stable nowrap" should set the property value
|
||||
Pass e.style['text-wrap'] = "initial" should set the property value
|
||||
Pass e.style['text-wrap'] = "inherit" should set the property value
|
||||
Pass e.style['text-wrap'] = "unset" should set the property value
|
||||
Pass e.style['text-wrap'] = "revert" should set the property value
|
||||
Pass e.style['text-wrap'] = "revert-layer" should set the property value
|
Loading…
Add table
Add a link
Reference in a new issue