summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb
diff options
context:
space:
mode:
authorLady Gegga <93391300+Xexxa@users.noreply.github.com>2022-03-08 18:39:48 +0100
committerLinus Groh <mail@linusgroh.de>2022-03-08 18:52:16 +0100
commit2a898a7e4a5970186b84a347983e278f36c46362 (patch)
treeefc49b947ea6b24b5a0d4255ba970074b78cd7a4 /Userland/Libraries/LibWeb
parent2c1f5cd31035fff09464424cdd769c6927ea2017 (diff)
downloadserenity-2a898a7e4a5970186b84a347983e278f36c46362.zip
LibWeb: Add explicit color to mark element
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Default.css22
1 files changed, 13 insertions, 9 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Default.css b/Userland/Libraries/LibWeb/CSS/Default.css
index f6855e6608..aa670dcb26 100644
--- a/Userland/Libraries/LibWeb/CSS/Default.css
+++ b/Userland/Libraries/LibWeb/CSS/Default.css
@@ -200,15 +200,6 @@ blockquote {
margin-right: 25px;
}
-mark {
- background: yellow;
-}
-
-abbr[title],
-acronym[title] {
- text-decoration: dotted underline;
-}
-
ul,
ol {
padding-left: 20px;
@@ -298,6 +289,19 @@ input[type=hidden i] { display: none !important; }
noscript { display: none !important; }
}
+/* 15.3.4 Phrasing content
+ * https://html.spec.whatwg.org/multipage/rendering.html#phrasing-content-3
+ */
+abbr[title],
+acronym[title] {
+ text-decoration: dotted underline;
+}
+
+mark {
+ background: yellow;
+ color: black;
+}
+
/* 15.4.1 Embedded content
* https://html.spec.whatwg.org/multipage/rendering.html#embedded-content-rendering-rules
*/