summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-11-07 21:35:45 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-07 21:35:59 +0100
commitee2cafc15ce0e07ad241801d2ee22bcc724688da (patch)
tree98fe608cab759fed63586414a89c4dabe7112ec4
parent56764a2db8c33fa600719f70836b290876390cdd (diff)
downloadserenity-ee2cafc15ce0e07ad241801d2ee22bcc724688da.zip
LibHTML: Fix the default style for <hr> elements
This was broken because we don't expand CSS shorthand properties (yet.)
-rw-r--r--Libraries/LibHTML/CSS/Default.css15
1 files changed, 12 insertions, 3 deletions
diff --git a/Libraries/LibHTML/CSS/Default.css b/Libraries/LibHTML/CSS/Default.css
index 54f20fba0a..5215a528e0 100644
--- a/Libraries/LibHTML/CSS/Default.css
+++ b/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 {