summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@gmail.com>2021-08-16 17:09:34 +0100
committerAndreas Kling <kling@serenityos.org>2021-08-25 12:14:34 +0200
commit543550d1dfe7ff2e8d1576f9b25d8aef3da31d2e (patch)
treead1b17cf9b769ff61c48903d9c6e8c5c2c1962de
parent6d39f4342d48e0be49f217ab491407123547e99f (diff)
downloadserenity-543550d1dfe7ff2e8d1576f9b25d8aef3da31d2e.zip
LibWeb: Quote all initial values in Properties.json
This is in preparation for parsing these into StyleValues automatically. Having them all be Strings makes the generation code simpler.
-rw-r--r--Userland/Libraries/LibWeb/CSS/Properties.json14
1 files changed, 7 insertions, 7 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Properties.json b/Userland/Libraries/LibWeb/CSS/Properties.json
index 92f47cc5c5..e5e3675b23 100644
--- a/Userland/Libraries/LibWeb/CSS/Properties.json
+++ b/Userland/Libraries/LibWeb/CSS/Properties.json
@@ -72,11 +72,11 @@
"inherited": false
},
"border-bottom-left-radius": {
- "initial": 0,
+ "initial": "0",
"inherited": false
},
"border-bottom-right-radius": {
- "initial": 0,
+ "initial": "0",
"inherited": false
},
"border-bottom-style": {
@@ -148,11 +148,11 @@
"inherited": false
},
"border-top-left-radius": {
- "initial": 0,
+ "initial": "0",
"inherited": false
},
"border-top-right-radius": {
- "initial": 0,
+ "initial": "0",
"inherited": false
},
"border-top-style": {
@@ -230,11 +230,11 @@
},
"flex-grow": {
"inherited": false,
- "initial": 0
+ "initial": "0"
},
"flex-shrink": {
"inherited": false,
- "initial": 1
+ "initial": "1"
},
"flex-wrap": {
"inherited": false,
@@ -354,7 +354,7 @@
},
"opacity": {
"inherited": false,
- "initial": 1
+ "initial": "1"
},
"overflow": {
"longhands": [