summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-26 12:14:48 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-26 13:25:52 +0200
commit243e9a8b4a3e66cf8a5556ed6f5e8051c6d57b0b (patch)
treeb04cb27c868d112fd33e6c81c0ebaa02bab0f6bd
parentcf8f1c5a5fa87dbc674546cb25e0b533f9bbd5ff (diff)
downloadserenity-243e9a8b4a3e66cf8a5556ed6f5e8051c6d57b0b.zip
LibWeb: Correct CSS initial values for min-width and min-height
The initial value for these is auto, not 0.
-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 e5e3675b23..184a0a8a8c 100644
--- a/Userland/Libraries/LibWeb/CSS/Properties.json
+++ b/Userland/Libraries/LibWeb/CSS/Properties.json
@@ -346,11 +346,11 @@
},
"min-height": {
"inherited": false,
- "initial": "0"
+ "initial": "auto"
},
"min-width": {
"inherited": false,
- "initial": "0"
+ "initial": "auto"
},
"opacity": {
"inherited": false,