فهرست منبع

LibHTML: Fix the default style for <hr> elements

This was broken because we don't expand CSS shorthand properties (yet.)
Andreas Kling 5 سال پیش
والد
کامیت
ee2cafc15c
1فایلهای تغییر یافته به همراه12 افزوده شده و 3 حذف شده
  1. 12 3
      Libraries/LibHTML/CSS/Default.css

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

@@ -102,9 +102,18 @@ a:hover {
 hr {
     margin-top: 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 {