normalize.css: tests

html

should have a line height of 1.15

abcdefghijklmnopqrstuvwxyz

should not adjust font size after orientation changes

abcdefghijklmnopqrstuvwxyz

h1

should not change size within an article or section

Heading (control)

Heading (in article)

Heading (in section)

hr

should have a content-box box model


main

should display as block

main

pre

should render text at the same absolute size as normal text

span: abcdefghijklmnopqrstuvwxyz.
pre: abcdefghijklmnopqrstuvwxyz.

a

should have a transparent background when active

dummy anchor

abbr[title]

should have a dotted underline text decoration with an underline fallback

abbr

b, strong

should have a bolder font-weight

b strong

b strong from font-weight:300

code, kbd, samp

should render text at the same absolute size as normal text

span: abcdefghijklmnopqrstuvwxyz.
code: abcdefghijklmnopqrstuvwxyz.
kbd: abcdefghijklmnopqrstuvwxyz.
samp: abcdefghijklmnopqrstuvwxyz.

small

should render equally small in all browsers

control. small.

audio, video

should display as inline-block

audio

should not display

img

should not have a border when wrapped in an anchor

svg

should not overflow

button, input, optgroup, select, textarea

should have no margin




button

should have visible overflow

button

should not inherit text-transform

button and button-style input

should be styleable

fieldset

should have consistent border, padding, and margin

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.

should inherit color

legend

should not have padding

legend

progress

should display as inline-block

70%

should have baseline alignment

abc 70% xyz

select

should not inherit text-transform

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

::placeholder

placeholder should be styleable

::file-upload-button

should be styleable

::focus-inner, ::focusring

should not have extra inner padding in Firefox

details

should display as block

dialog

should be absolutely positioned

dialog

summary

should display as list-item

Summary

More information