1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:57:35 +00:00

LibWeb: Add missing value ranges to CSS properties

...except those related to `grid`, because I can't figure out how the 17
different properties interact with each other, and what values apply to
which ones. 😅

All but 1 of these are the infinite range `[-∞,∞]`. As such, specifying
that range does not change anything, but it does make it explicit that
we've looked at what the range should be, instead of just not having
added it.
This commit is contained in:
Sam Atkins 2023-06-02 17:11:41 +01:00 committed by Andreas Kling
parent 2d7308cb88
commit d3009bd568

View file

@ -113,7 +113,7 @@
"inherited": false, "inherited": false,
"initial": "0s", "initial": "0s",
"valid-types": [ "valid-types": [
"time" "time [-∞,∞]"
] ]
}, },
"animation-fill-mode": { "animation-fill-mode": {
@ -211,8 +211,8 @@
"initial": "0% 0%", "initial": "0% 0%",
"max-values": 4, "max-values": 4,
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"bottom", "bottom",
@ -234,8 +234,8 @@
"affects-layout": false, "affects-layout": false,
"initial": "0%", "initial": "0%",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"center", "center",
@ -248,8 +248,8 @@
"affects-layout": false, "affects-layout": false,
"initial": "0%", "initial": "0%",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"center", "center",
@ -488,7 +488,7 @@
"inherited": true, "inherited": true,
"initial": "0", "initial": "0",
"valid-types": [ "valid-types": [
"length" "length [0,∞]"
], ],
"quirks": [ "quirks": [
"unitless-length" "unitless-length"
@ -585,8 +585,8 @@
"inherited": false, "inherited": false,
"initial": "auto", "initial": "auto",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"auto" "auto"
@ -737,8 +737,8 @@
"inherited": true, "inherited": true,
"initial": "1", "initial": "1",
"valid-types": [ "valid-types": [
"number", "number [-∞,∞]",
"percentage" "percentage [-∞,∞]"
] ]
}, },
"flex": { "flex": {
@ -798,7 +798,7 @@
"inherited": false, "inherited": false,
"initial": "0", "initial": "0",
"valid-types": [ "valid-types": [
"integer" "integer [-∞,∞]"
] ]
}, },
"flex-wrap": { "flex-wrap": {
@ -1162,8 +1162,8 @@
], ],
"max-values": 4, "max-values": 4,
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"auto" "auto"
@ -1180,8 +1180,8 @@
"inherited": false, "inherited": false,
"initial": "auto", "initial": "auto",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"auto" "auto"
@ -1194,8 +1194,8 @@
"inherited": true, "inherited": true,
"initial": "normal", "initial": "normal",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"normal" "normal"
@ -1262,8 +1262,8 @@
], ],
"max-values": 4, "max-values": 4,
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"auto" "auto"
@ -1276,8 +1276,8 @@
"inherited": false, "inherited": false,
"initial": "0", "initial": "0",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"auto" "auto"
@ -1290,8 +1290,8 @@
"inherited": false, "inherited": false,
"initial": "0", "initial": "0",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"auto" "auto"
@ -1304,8 +1304,8 @@
"inherited": false, "inherited": false,
"initial": "0", "initial": "0",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"auto" "auto"
@ -1318,8 +1318,8 @@
"inherited": false, "inherited": false,
"initial": "0", "initial": "0",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"auto" "auto"
@ -1408,8 +1408,8 @@
"inherited": false, "inherited": false,
"initial": "1", "initial": "1",
"valid-types": [ "valid-types": [
"number", "number [-∞,∞]",
"percentage" "percentage [-∞,∞]"
] ]
}, },
"outline": { "outline": {
@ -1570,8 +1570,8 @@
"inherited": false, "inherited": false,
"initial": "auto", "initial": "auto",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"auto" "auto"
@ -1607,8 +1607,8 @@
"inherited": true, "inherited": true,
"initial": "1", "initial": "1",
"valid-types": [ "valid-types": [
"number", "number [-∞,∞]",
"percentage" "percentage [-∞,∞]"
] ]
}, },
"stop-color": { "stop-color": {
@ -1624,8 +1624,8 @@
"inherited": false, "inherited": false,
"initial": "1", "initial": "1",
"valid-types": [ "valid-types": [
"number", "number [-∞,∞]",
"percentage" "percentage [-∞,∞]"
] ]
}, },
"stroke-width": { "stroke-width": {
@ -1686,8 +1686,8 @@
"inherited": false, "inherited": false,
"initial": "auto", "initial": "auto",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"auto", "auto",
@ -1698,8 +1698,8 @@
"inherited": true, "inherited": true,
"initial": "0", "initial": "0",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"quirks": [ "quirks": [
"unitless-length" "unitless-length"
@ -1731,8 +1731,8 @@
"inherited": false, "inherited": false,
"initial": "auto", "initial": "auto",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"auto" "auto"
@ -1752,8 +1752,8 @@
"initial": "50% 50%", "initial": "50% 50%",
"max-values": 3, "max-values": 3,
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"bottom", "bottom",
@ -1779,8 +1779,8 @@
"inherited": false, "inherited": false,
"initial": "baseline", "initial": "baseline",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage", "percentage [-∞,∞]",
"vertical-align" "vertical-align"
], ],
"quirks": [ "quirks": [
@ -1822,8 +1822,8 @@
"inherited": true, "inherited": true,
"initial": "normal", "initial": "normal",
"valid-types": [ "valid-types": [
"length", "length [-∞,∞]",
"percentage" "percentage [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"normal" "normal"
@ -1847,7 +1847,7 @@
"inherited": false, "inherited": false,
"initial": "auto", "initial": "auto",
"valid-types": [ "valid-types": [
"integer" "integer [-∞,∞]"
], ],
"valid-identifiers": [ "valid-identifiers": [
"auto" "auto"