.
html
should have a line height of 1.15
abcdefghijklmnopqrstuvwxyz
body
should have no margin (opinionated)
(there should be no red background visible on this page)
article
, aside
, details
,
figure
, figcaption
, footer
,
header
, main
,
menu
, nav
, section
,
summary
should render as block
article
summary
details
main
audio
, canvas
, progress
, video
should render as inline-block and baseline-aligned
audio:not([controls])
, template
, [hidden]
should not display
{{title}}
This should be hidden
a
should have a transparent background when active
should not skip underlines
should not have a focus outline when both focused and hovered (opinionated)
abbr[title]
should have a dotted underline with a solid underline as a fallback
b
, strong
should have bolder font-weight
b
strong
dfn
should have italic font-style
dfn
h1
should not change size within an article
Heading (control)
Heading (in article)
should not change size within a section
Heading (control)
mark
should have a yellow background
mark
small
should render equally small in all browsers
control. small.
sub
and sup
should not affect a line's visual line-height
control.
control. sub.
control. sup.
img
should not have a border when wrapped in an anchor
svg
should not overflow
code
, kbd
, pre
, samp
should render text at the same absolute size as normal text
span: abcdefghijklmnopqrstuvwxyz.
code: abcdefghijklmnopqrstuvwxyz.
kbd: abcdefghijklmnopqrstuvwxyz.
samp: abcdefghijklmnopqrstuvwxyz.
pre: abcdefghijklmnopqrstuvwxyz.
figure
should have margins
hr
should have a content-box
box model
button
, input
, optgroup
, select
, textarea
should inherit font-size
from ancestor
should not have margins
button
should have visible overflow
button
, select
should not inherit text-transform
button
and button-style input
should be styleable
disabled button
and input
should have default
cursor style
button
, input
should not have extra inner padding in Firefox
fieldset
should have consistent border, padding, and margin
legend
should inherit color
should not have padding
should wrap text
textarea
should not have a scrollbar unless overflowing
[type="checkbox"]
, [type="radio"]
should have a border-box
box model
should not have padding
[type="number"]
should display a default cursor for the decrement button's click target in Chrome
[type="search"]
should be styleable
should not have a cancel button in Safari or Chrome
should reference inherited color