1
Fork 0
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:
Sam Atkins 2023-05-10 17:19:08 +01:00 committed by Andreas Kling
parent 5533413061
commit 6f3e48db57

View file

@ -42,9 +42,7 @@
"affects-stacking-context": true,
"inherited": false,
"initial": "none",
"valid-types": [
"filter-value-list"
],
"__comment": "FIXME: List `filter-value-list` as a valid-type once it's generically supported.",
"valid-identifiers": [
"none"
]
@ -392,6 +390,9 @@
"border-spacing": {
"inherited": true,
"initial": "0",
"valid-types": [
"length"
],
"quirks": [
"unitless-length"
]
@ -413,6 +414,9 @@
"affects-layout": false,
"initial": "currentcolor",
"inherited": false,
"valid-types": [
"color"
],
"quirks": [
"hashless-hex-color"
]
@ -622,8 +626,10 @@
"affects-layout": false,
"inherited": true,
"initial": "black",
"__comment": "FIXME: Use `paint` as the type, once we have a PaintStyleValue and generic parsing for it.",
"valid-types": [
"paint"
"color",
"url"
],
"valid-identifiers": [
"none"