@@ -184,6 +184,19 @@ xmp {
/* Phrasing content */
/* https://html.spec.whatwg.org/multipage/rendering.html#phrasing-content-3 */
cite,
dfn,
em,
i,
var {
font-style: italic;
}
b,
strong {
font-weight: bolder;
}
code,
kbd,
samp,
@@ -191,10 +204,69 @@ tt {
font-family: monospace;
}
big {
font-size: larger;
}
small {
font-size: smaller;
}
sub {
vertical-align: sub;
}
sup {
vertical-align: super;
}
sub,
sup {
line-height: normal;
font-size: smaller;
}
ruby {
display: ruby;
}
rt {
display: ruby-text;
}
:link {
color: #0000ee;
}
:visited {
color: #551a8b;
}
:link:active,
:visited:active {
color: #ff0000;
}
:link,
:visited {
text-decoration: underline;
cursor: pointer;
}
:focus-visible {
outline: auto;
}
mark {
background: yellow;
color: black;
}
abbr[title],
acronym[title] {
text-decoration: dotted underline;
}
ins,
u {
text-decoration: underline;
@@ -206,6 +278,30 @@ strike {
text-decoration: line-through;
}
q::before {
content: open-quote;
}
q::after {
content: close-quote;
}
/* TODO(robinlinden): MDN doesn't agree that this exists. */
/* br { display-outside: newline; } */
nobr {
white-space: nowrap;
}
/* TODO(robinlinden): MDN doesn't agree that this exists. */
/* wbr { display-outside: break-opportunity; } */
nobr wbr {
white-space: normal;
}
/* TODO(robinlinden): presentational hints? */
/* Lists */
/* https://html.spec.whatwg.org/multipage/rendering.html#lists */
/* TODO(robinlinden): Finish section. */