mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 20:34:59 +00:00
LibWeb: Fill in some missing property data and bodge extra types
We don't yet have generic parsing support for `<filter-value-list>` or `<paint>`, so listing them here confuses the new StyleValue parsing code I'm working on. For now, let's skip `<filter-value-list>` since it's only used in one pkace which manually parses it, and list the parts of `<paint>` instead which are taken from here: https://www.w3.org/TR/SVG2/painting.html#SpecifyingPaint
This commit is contained in:
parent
5533413061
commit
6f3e48db57
1 changed files with 10 additions and 4 deletions
|
@ -42,9 +42,7 @@
|
||||||
"affects-stacking-context": true,
|
"affects-stacking-context": true,
|
||||||
"inherited": false,
|
"inherited": false,
|
||||||
"initial": "none",
|
"initial": "none",
|
||||||
"valid-types": [
|
"__comment": "FIXME: List `filter-value-list` as a valid-type once it's generically supported.",
|
||||||
"filter-value-list"
|
|
||||||
],
|
|
||||||
"valid-identifiers": [
|
"valid-identifiers": [
|
||||||
"none"
|
"none"
|
||||||
]
|
]
|
||||||
|
@ -392,6 +390,9 @@
|
||||||
"border-spacing": {
|
"border-spacing": {
|
||||||
"inherited": true,
|
"inherited": true,
|
||||||
"initial": "0",
|
"initial": "0",
|
||||||
|
"valid-types": [
|
||||||
|
"length"
|
||||||
|
],
|
||||||
"quirks": [
|
"quirks": [
|
||||||
"unitless-length"
|
"unitless-length"
|
||||||
]
|
]
|
||||||
|
@ -413,6 +414,9 @@
|
||||||
"affects-layout": false,
|
"affects-layout": false,
|
||||||
"initial": "currentcolor",
|
"initial": "currentcolor",
|
||||||
"inherited": false,
|
"inherited": false,
|
||||||
|
"valid-types": [
|
||||||
|
"color"
|
||||||
|
],
|
||||||
"quirks": [
|
"quirks": [
|
||||||
"hashless-hex-color"
|
"hashless-hex-color"
|
||||||
]
|
]
|
||||||
|
@ -622,8 +626,10 @@
|
||||||
"affects-layout": false,
|
"affects-layout": false,
|
||||||
"inherited": true,
|
"inherited": true,
|
||||||
"initial": "black",
|
"initial": "black",
|
||||||
|
"__comment": "FIXME: Use `paint` as the type, once we have a PaintStyleValue and generic parsing for it.",
|
||||||
"valid-types": [
|
"valid-types": [
|
||||||
"paint"
|
"color",
|
||||||
|
"url"
|
||||||
],
|
],
|
||||||
"valid-identifiers": [
|
"valid-identifiers": [
|
||||||
"none"
|
"none"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue