page.css
.border
normalization on form controls to match UA.font
and letter-spacing
as inherit
on form controls.border
removal on iframes in all browsers.border-radius
on form controls.box-shadow
on form controls to match UA expectations.Edge
comments without Chrome
are are changed to Edge 18-
.Chrome
comments without Edge
have Edge
added.dl
normalizations split.margin-block
normalization changed to margin
.typography.css
.These fixes were brought in from normalize.css v10.1.0.
browers
typo to browsers
aria-disabled
disabled styles when [aria-disabled="true"]
svg { fill: currentColor }
when svg:not([fill])
::-moz-focus-inner
and :-moz-focusring
fixed
in Firefox 53 (https://bugzilla.mozilla.org/show_bug.cgi?id=140562)word-break: break-word
to html
font-family: inherit
on form elementsbox-sizing: border-box
to *, ::before, ::after
box-sizing: border-box
from html
and box-sizing: inherit
from
html
color: inherit
and background-color: transparent
from
form
summary
displayhtml
border-spacing
zeroing:hover
now targets a:hover
background-repeat: no-repeat
margin
and padding
font-size
on elements (form controls still have it)abbr[title]
styled using border-bottom
over text-decoration
Variables were there for developers to override styles in sanitize.css without editing the original file or overriding the rule. However, you should override the rule so that your change is explicit, and so that your source maps accurately indicate your changes coming from your files.
b
and strong
normalization::-moz-focus-inner
normalizationhr
normalizationsvg
fill as the current colorselection.less
root
-prefixed values across all formatsbox-sizing
variable corrected to border-box
in sass, scss, styltouch-action: manipulation
to remove delays during mobile tappingtext-rendering
due to performance issues::selection
color variable corrected to --selection-color
background-repeat
for all elements:root
previously html
::selection
color to #ffffff
font-size
on :root
background-color
inheritance[hidden][aria-hidden="false"]
[aria-busy="true"]
[aria-controls]
html
[hidden~="screen"]
[unselectable="on"]
font-style
inheritanceNormalize.css had and still has opinionated, developer-centric styles. For example,
sub
andsup
elements are styled to not impact the line height of text, andtable
,th
, andtd
omit all spacing. As Nicolas pushed Normalize.css into maturity, future preferences like these no longer had a place in the project. Almost a year later, Sanitize was officially branded. Where Normalize.css conservatively follows user agent consensus and results in more pre-styled elements, Sanitize.css liberally follows developer consensus and results in more unstyled elements.