summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/Properties.json
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-07-18 21:52:30 +0200
committerAndreas Kling <kling@serenityos.org>2022-07-19 12:45:50 +0200
commit789f258412c97f3c54e2a8d341c196791cf02411 (patch)
tree2bfa3fded58ddcfc330ed8d07038a33d85c525f1 /Userland/Libraries/LibWeb/CSS/Properties.json
parentf4c68eb0a4451004ecc4153266254b1aab28476e (diff)
downloadserenity-789f258412c97f3c54e2a8d341c196791cf02411.zip
LibWeb: Reject negative values for `flex-grow` and `flex-shrink`
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Properties.json')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Properties.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Properties.json b/Userland/Libraries/LibWeb/CSS/Properties.json
index 37a1eef20d..9fcaeae8a4 100644
--- a/Userland/Libraries/LibWeb/CSS/Properties.json
+++ b/Userland/Libraries/LibWeb/CSS/Properties.json
@@ -586,14 +586,14 @@
"inherited": false,
"initial": "0",
"valid-types": [
- "number"
+ "number [0,∞]"
]
},
"flex-shrink": {
"inherited": false,
"initial": "1",
"valid-types": [
- "number"
+ "number [0,∞]"
]
},
"order": {