mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +00:00
LibWeb: Don't serialize omitted box-shadow
and text-shadow
values
This commit is contained in:
parent
68d3ddb1a7
commit
d89a67ffee
Notes:
github-actions[bot]
2025-06-15 14:06:07 +00:00
Author: https://github.com/tcl3
Commit: d89a67ffee
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5087
7 changed files with 207 additions and 31 deletions
|
@ -0,0 +1,43 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 38 tests
|
||||
|
||||
38 Pass
|
||||
Pass e.style['box-shadow'] = "none" should set the property value
|
||||
Pass e.style['box-shadow'] = "1px 2px" should set the property value
|
||||
Pass e.style['box-shadow'] = "red 1px 2px 3px -4px inset" should set the property value
|
||||
Pass e.style['box-shadow'] = "inset 1px 2px red" should set the property value
|
||||
Pass e.style['box-shadow'] = "1px -2px inset, red -3px 4px" should set the property value
|
||||
Pass e.style['box-shadow'] = "inset 1px -2px, -3px 4px red" should set the property value
|
||||
Pass e.style['box-shadow'] = "4px 4px green" should set the property value
|
||||
Pass e.style['box-shadow'] = "green -4px 4px" should set the property value
|
||||
Pass e.style['box-shadow'] = "-4px 4px 0 green" should set the property value
|
||||
Pass e.style['box-shadow'] = "green -4px 4px 0" should set the property value
|
||||
Pass e.style['box-shadow'] = "-4px 4px 0 0 green" should set the property value
|
||||
Pass e.style['box-shadow'] = "green -4px 4px 0 0" should set the property value
|
||||
Pass e.style['box-shadow'] = "4px -4px inset" should set the property value
|
||||
Pass e.style['box-shadow'] = "inset 4px -4px" should set the property value
|
||||
Pass e.style['box-shadow'] = "4px -4px 0 inset" should set the property value
|
||||
Pass e.style['box-shadow'] = "inset 4px -4px 0" should set the property value
|
||||
Pass e.style['box-shadow'] = "4px -4px 0 0 inset" should set the property value
|
||||
Pass e.style['box-shadow'] = "inset 4px -4px 0 0" should set the property value
|
||||
Pass e.style['box-shadow'] = "4px -4px green inset" should set the property value
|
||||
Pass e.style['box-shadow'] = "4px -4px inset green" should set the property value
|
||||
Pass e.style['box-shadow'] = "inset green 4px -4px" should set the property value
|
||||
Pass e.style['box-shadow'] = "green inset 4px -4px" should set the property value
|
||||
Pass e.style['box-shadow'] = "green 4px -4px inset" should set the property value
|
||||
Pass e.style['box-shadow'] = "inset 4px -4px green" should set the property value
|
||||
Pass e.style['box-shadow'] = "inset green 4px -4px 0" should set the property value
|
||||
Pass e.style['box-shadow'] = "green inset 4px -4px 0" should set the property value
|
||||
Pass e.style['box-shadow'] = "4px -4px 0 green inset" should set the property value
|
||||
Pass e.style['box-shadow'] = "4px -4px 0 inset green" should set the property value
|
||||
Pass e.style['box-shadow'] = "green 4px -4px 0 inset" should set the property value
|
||||
Pass e.style['box-shadow'] = "inset 4px -4px 0 green" should set the property value
|
||||
Pass e.style['box-shadow'] = "inset green 4px -4px 0 0" should set the property value
|
||||
Pass e.style['box-shadow'] = "green inset 4px -4px 0 0" should set the property value
|
||||
Pass e.style['box-shadow'] = "4px -4px 0 0 green inset" should set the property value
|
||||
Pass e.style['box-shadow'] = "4px -4px 0 0 inset green" should set the property value
|
||||
Pass e.style['box-shadow'] = "green 4px -4px 0 0 inset" should set the property value
|
||||
Pass e.style['box-shadow'] = "inset 4px -4px 0 0 green" should set the property value
|
||||
Pass e.style['box-shadow'] = "1px 1px calc(-1px)" should set the property value
|
||||
Pass e.style['box-shadow'] = "1px 1px calc(1em - 2px)" should set the property value
|
Loading…
Add table
Add a link
Reference in a new issue