Pārlūkot izejas kodu

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

The initial value for these is auto, not 0.
Andreas Kling 3 gadi atpakaļ
vecāks
revīzija
243e9a8b4a
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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,