diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2021-11-10 13:27:16 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-10 21:58:14 +0100 |
commit | 1fa985b0a679d0c18d9358a7ca181c4d447a0c93 (patch) | |
tree | 96383eab0e1d2eedd17d78556112cebff16a6a82 /Userland/Libraries/LibWeb/CSS | |
parent | a445deb20582a36ba8048dfdf4ccf85a5035915b (diff) | |
download | serenity-1fa985b0a679d0c18d9358a7ca181c4d447a0c93.zip |
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.
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/Properties.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Properties.json b/Userland/Libraries/LibWeb/CSS/Properties.json index 8112e27c2a..fb0d371ebd 100644 --- a/Userland/Libraries/LibWeb/CSS/Properties.json +++ b/Userland/Libraries/LibWeb/CSS/Properties.json @@ -1,7 +1,7 @@ { "align-items": { "inherited": false, - "initial": "normal", + "initial": "stretch", "valid-identifiers": [ "center", "baseline", @@ -314,7 +314,7 @@ }, "border-spacing": { "inherited": true, - "initial": "0px 0px", + "initial": "0", "quirks": [ "unitless-length" ] @@ -1195,7 +1195,7 @@ }, "text-decoration-thickness": { "inherited": false, - "initial": "none", + "initial": "auto", "valid-types": [ "length", "percentage" |