.

Normalize.css: UI tests

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
figure
figcaption
footer
header
main
  • menu
section

audio, canvas, progress, video

should render as inline-block and baseline-aligned

canvas progress

audio:not([controls]), template, [hidden]

should not display

a

should have a transparent background when active

dummy anchor

should not skip underlines

quip and jig

should not have a focus outline when both focused and hovered (opinionated)

dummy anchor

abbr[title]

should have a dotted underline with a solid underline as a fallback

abbr

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)

Heading (in section)

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

legend

should not have padding

legend

should wrap text

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et me.

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 reference inherited color