1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:17:35 +00:00

LibWeb: Add explicit color to mark element

This commit is contained in:
Lady Gegga 2022-03-08 18:39:48 +01:00 committed by Linus Groh
parent 2c1f5cd310
commit 2a898a7e4a

View file

@ -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
*/