浏览代码

LibWeb: Correct CSS initial values for min-width and min-height

The initial value for these is auto, not 0.
Andreas Kling 3 年之前
父节点
当前提交
243e9a8b4a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Userland/Libraries/LibWeb/CSS/Properties.json

+ 2 - 2
Userland/Libraries/LibWeb/CSS/Properties.json

@@ -346,11 +346,11 @@
   },
   },
   "min-height": {
   "min-height": {
     "inherited": false,
     "inherited": false,
-    "initial": "0"
+    "initial": "auto"
   },
   },
   "min-width": {
   "min-width": {
     "inherited": false,
     "inherited": false,
-    "initial": "0"
+    "initial": "auto"
   },
   },
   "opacity": {
   "opacity": {
     "inherited": false,
     "inherited": false,