1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:47:45 +00:00

LibWeb: Correct initial values in Properties.json

- `align-items`: `normal` is the initial value in the CSS-ALIGN spec,
but `stretch` is in CSS-FLEXBOX. The FLEXBOX spec is the one we've
actually implemented elsewhere, and ALIGN adds new values with special
syntax, so it's not trivial to add it here.
- `border-spacing`: `0` is equivalent to `0px 0px` and we don't yet
parse the double-value syntax.
- `text-decoration-thickness`: Had the wrong value.
This commit is contained in:
Sam Atkins 2021-11-10 13:27:16 +00:00 committed by Andreas Kling
parent a445deb205
commit 1fa985b0a6

View file

@ -1,7 +1,7 @@
{ {
"align-items": { "align-items": {
"inherited": false, "inherited": false,
"initial": "normal", "initial": "stretch",
"valid-identifiers": [ "valid-identifiers": [
"center", "center",
"baseline", "baseline",
@ -314,7 +314,7 @@
}, },
"border-spacing": { "border-spacing": {
"inherited": true, "inherited": true,
"initial": "0px 0px", "initial": "0",
"quirks": [ "quirks": [
"unitless-length" "unitless-length"
] ]
@ -1195,7 +1195,7 @@
}, },
"text-decoration-thickness": { "text-decoration-thickness": {
"inherited": false, "inherited": false,
"initial": "none", "initial": "auto",
"valid-types": [ "valid-types": [
"length", "length",
"percentage" "percentage"