mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 01:57:44 +00:00
LibWeb: Parse "none" value for box-shadow property
Previously, `box-shadow: none` would fail to parse, meaning that in this example: ```css p { box-shadow: 20px 10px 5px magenta; } p.foo { box-shadow: none; } ``` ... a `<p class="foo">` would still have a box-shadow, when it should not have one. Now, we handle the `none` value. :^)
This commit is contained in:
parent
7879b98f60
commit
8b57e56d66
2 changed files with 11 additions and 1 deletions
|
@ -415,7 +415,10 @@
|
|||
},
|
||||
"box-shadow": {
|
||||
"inherited": false,
|
||||
"initial": "none"
|
||||
"initial": "none",
|
||||
"valid-identifiers": [
|
||||
"none"
|
||||
]
|
||||
},
|
||||
"box-sizing": {
|
||||
"inherited": false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue