소스 검색

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

The initial value for these is auto, not 0.
Andreas Kling 4 년 전
부모
커밋
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": {
     "inherited": false,
-    "initial": "0"
+    "initial": "auto"
   },
   "min-width": {
     "inherited": false,
-    "initial": "0"
+    "initial": "auto"
   },
   "opacity": {
     "inherited": false,