diff options
author | Andreas Kling <kling@serenityos.org> | 2022-07-18 21:52:30 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-07-19 12:45:50 +0200 |
commit | 789f258412c97f3c54e2a8d341c196791cf02411 (patch) | |
tree | 2bfa3fded58ddcfc330ed8d07038a33d85c525f1 /Userland/Libraries/LibWeb/CSS/Properties.json | |
parent | f4c68eb0a4451004ecc4153266254b1aab28476e (diff) | |
download | serenity-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.json | 4 |
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": { |