mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-26 20:26:53 +00:00
LibWeb: Parse and propagate white-space-collapse
CSS property
This commit is contained in:
parent
3989059227
commit
ea30356fba
Notes:
github-actions[bot]
2025-05-29 10:06:12 +00:00
Author: https://github.com/Calme1709
Commit: ea30356fba
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4832
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/gmta ✅
17 changed files with 321 additions and 180 deletions
|
@ -0,0 +1,9 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
4 Pass
|
||||
Pass Property white-space-collapse value 'collapse'
|
||||
Pass Property white-space-collapse value 'preserve'
|
||||
Pass Property white-space-collapse value 'preserve-breaks'
|
||||
Pass Property white-space-collapse value 'break-spaces'
|
|
@ -0,0 +1,11 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 6 tests
|
||||
|
||||
6 Pass
|
||||
Pass e.style['white-space-collapse'] = "auto" should not set the property value
|
||||
Pass e.style['white-space-collapse'] = "none" should not set the property value
|
||||
Pass e.style['white-space-collapse'] = "collapse preserve" should not set the property value
|
||||
Pass e.style['white-space-collapse'] = "preserve preserve-breaks" should not set the property value
|
||||
Pass e.style['white-space-collapse'] = "delicious collapse" should not set the property value
|
||||
Pass e.style['white-space-collapse'] = "5px" should not set the property value
|
|
@ -0,0 +1,14 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 9 tests
|
||||
|
||||
9 Pass
|
||||
Pass e.style['white-space-collapse'] = "collapse" should set the property value
|
||||
Pass e.style['white-space-collapse'] = "preserve" should set the property value
|
||||
Pass e.style['white-space-collapse'] = "preserve-breaks" should set the property value
|
||||
Pass e.style['white-space-collapse'] = "break-spaces" should set the property value
|
||||
Pass e.style['white-space-collapse'] = "initial" should set the property value
|
||||
Pass e.style['white-space-collapse'] = "inherit" should set the property value
|
||||
Pass e.style['white-space-collapse'] = "unset" should set the property value
|
||||
Pass e.style['white-space-collapse'] = "revert" should set the property value
|
||||
Pass e.style['white-space-collapse'] = "revert-layer" should set the property value
|
Loading…
Add table
Add a link
Reference in a new issue