- Added: Visually hidden element style
[hidden][aria-hidden="false"]
- Added: Currently updating element style
[aria-busy="true"]
- Added: Trigger element style
[aria-controls]
- Added: Color style for
<html>
- Added: CHANGELOG.md
- Removed: Standards-breaking visually hidden style
[hidden~="screen"]
- Removed: Standards-breaking IE-proprietary style
[unselectable="on"]
- Removed: Prefix-less properties and the use of Autoprefixer
- Updated: Form styling
- Updated: Support for the latest Chrome, Edge, Firefox, and Safari
- Updated: Licensing reference in package.json
- Updated: Development dependencies
- Updated: README.md and code documentation
- Added: Control over options via Sass variables
- Added: Overflow normalization on :root
- Added:
font-style
inheritance - Updated: Support for the latest Firefox
- Removed: Redundant inheritance in ::before and ::after
- Removed: redundant cursor inheritance in anchor and form elements
- Added: Form support
- Updated: Normalization
- Updated: Border assignment
- Updated: Moved from normalize.css to sanitize.css
Normalize.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.
- Added: Normalize.css