Bladeren bron

LibHTML: Fix the default style for <hr> elements

This was broken because we don't expand CSS shorthand properties (yet.)
Andreas Kling 5 jaren geleden
bovenliggende
commit
ee2cafc15c
1 gewijzigde bestanden met toevoegingen van 12 en 3 verwijderingen
  1. 12 3
      Libraries/LibHTML/CSS/Default.css

+ 12 - 3
Libraries/LibHTML/CSS/Default.css

@@ -102,9 +102,18 @@ a:hover {
 hr {
 hr {
     margin-top: 4;
     margin-top: 4;
     margin-bottom: 4;
     margin-bottom: 4;
-    border-width: 1;
-    border-color: #888888;
-    border-style: inset;
+    border-top-width: 1;
+    border-left-width: 1;
+    border-right-width: 1;
+    border-bottom-width: 1;
+    border-top-color: #888888;
+    border-left-color: #888888;
+    border-right-color: #888888;
+    border-bottom-color: #888888;
+    border-top-style: inset;
+    border-left-style: inset;
+    border-right-style: inset;
+    border-bottom-style: inset;
 }
 }
 
 
 blink {
 blink {