# Changes to sanitize.css ### 12.0.1 (August 20, 2020) - Fixed: Used case-insensitive attribute selectors in the evergreen variations. ### 12.0.0 (August 20, 2020) - Added: Correct table border color inheritance in all Chrome, Edge, and Safari. - Added: Remove text indentation from table contents in Chrome, Edge, and Safari. - Added: Correct the inheritance of horizontal rule border color in Firefox. - Added: Prevent overflow of a `pre` container in all browsers (opinionated). - Added: Evergreen variations of sanitize.css (basically, without IE support). - Added: Reduce animations, scrolling effects, and transitions when requested in all browsers (opinionated) to `reduce-motion.css`. - Updated: Move size restrictions (opinionated) in all browsers to `assets.css`. - Removed: Tapping delay style, except in IE 10, where it matters. - Removed: Border and padding from color and range `input` in all browsers. - Fixed: Announce `nav ol, nav ul` list semantics on Safari with VoiceOver. ### 11.0.1 (May 20, 2020) - Fixed: Documentation is updated. > This release is primarily made to update the polyfill used by cdnjs. ### 11.0.0 (June 3, 2019) - Changed: Opinionated `select` background styling in `forms.css` is no longer applied when `multiple` or `size` attributes are also present. ### 10.0.0 (June 3, 2019) - Added: Opinionated page measure via `page.css`. - Added: Opinionated `border` normalization on form controls to match UA. - Added: Opinionated `font` and `letter-spacing` as `inherit` on form controls. - Added: Opinionated normalization of select controls. - Added: Opinionated normalization of placeholders in Internet Explorer. - Added: Opinionated `border` removal on iframes in all browsers. - Removed: Opinionated `border-radius` on form controls. - Removed: Opinionated `box-shadow` on form controls to match UA expectations. - Fixed: `Edge` comments without `Chrome` are are changed to `Edge 18-`. - Fixed: `Chrome` comments without `Edge` have `Edge` added. - Fixed: Nested list `dl` normalizations split. - Fixed: Logical `margin-block` normalization changed to `margin`. - Fixed: Used consistent quotes around typefaces in `typography.css`. > These fixes were brought in from normalize.css v10.1.0. ### 9.0.0 (May 16, 2019) - Removed: Opinionated removal of text shadow on text selections due to bugs in High Contrast mode. - Removed: Opinionated removal of repeating backgrounds in all browsers due to form control unstyling. - Removed: Opinionated interface typography in all browsers, which is moved to forms.css and typography.css. - Changed: Visually hidden content now uses some less aggressive selectors. - Added: Opinionated interface typography in all browsers via typography.css. - Added: Opinionated standards-like form styling in all browsers via forms.css. - Added: Opinionated removal of the grey highlight when tapping links in iOS. ### 8.0.1 (May 12, 2019) - Fixed: Typo of `browers` typo to `browsers` ### 8.0.0 (October 8, 2018) - Changed: Apply `aria-disabled` disabled styles when `[aria-disabled="true"]` - Changed: Apply `svg { fill: currentColor }` when `svg:not([fill])` - Fixed: Apply appropriate system font fallbacks for KDE Plasma ### 7.0.3 (September 4, 2018) - Fix disabled cursor ### 7.0.2 (September 4, 2018) - Fixed: Restored form control margin normalizations in Firefox - Updated: Ordering of a few rules (opinionated) ### 7.0.1 (August 25, 2018) - Added: Support the 4-space tab width in Firefox (opinionated) ### 7.0.0 (August 22, 2018) - Added: System font in all browsers (opinionated) - Added: System monospace user interface font in all browsers (opinionated) - Added: 4-space tab width in all browsers (opinionated) - Removed: Unnecessary form control margin normalizations in Firefox - Removed: Opinionated fieldset padding in all browsers - Removed: Normalzations for `::-moz-focus-inner` and `:-moz-focusring` fixed in Firefox 53 (https://bugzilla.mozilla.org/show_bug.cgi?id=140562) - Fixed: Correction of cursor style of increment and decrement buttons in Safari, not Chrome - Fixed: Text style of placeholders in Chrome, Edge, and Safari ### 6.0.0 (June 24, 2018) - Added: `word-break: break-word` to `html` - Added: `font-family: inherit` on form elements - Added: normalize.css updates - Added: `box-sizing: border-box` to `*, ::before, ::after` - Removed: `box-sizing: border-box` from `html` and `box-sizing: inherit` from `html` - Removed: `color: inherit` and `background-color: transparent` from `form` ### 5.0.0 (March 1, 2017) - Added: normalize.css v6 parity, including `summary` display - Added: form elements to inherit line-height from html - Removed: font styles on `html` - Removed: unnecessary `border-spacing` zeroing ### 4.1.0 (July 1, 2016) - Updated: The focus removal on `:hover` now targets `a:hover` ### 4.0.0 (June 20, 2016) - Added: All improvements from normalize.css v4.1.1 - Added: Documentation for each opinionated feature - Added: Universal `background-repeat: no-repeat` - Removed: Reset of universal `margin` and `padding` - Removed: Inheritance of `font-size` on elements (form controls still have it) - Removed: Pre-compiled files that used variables - Updated: `abbr[title]` styled using `border-bottom` over `text-decoration` - Updated: Tests and linting #### Why are variables removed in v4? 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. ### 3.3.0 (March 3, 2016) - Added: `b` and `strong` normalization - Added: `::-moz-focus-inner` normalization - Added: `hr` normalization - Added: `svg` fill as the current color - Updated: Organized rules into normalization, universal inheritance, opinionated defaults, and configurable defaults - Updated: Moved source and compiled libraries ### 3.2.0 (February 3, 2016) - Added: `selection.less` - Updated: Use `root`-prefixed values across all formats - Updated: Documentation ## 3.1.1 (February 1, 2016) - Updated: `box-sizing` variable corrected to `border-box` in sass, scss, styl ### 3.1.0 (February 1, 2016) - Added: Project configuration (.editorconfig) - Added: Style linting rules and tests - Added: `touch-action: manipulation` to remove delays during mobile tapping - Removed: `text-rendering` due to performance issues - Updated: `::selection` color variable corrected to `--selection-color` - Updated: Use direct nesting ### 3.0.0 (October 23, 2015) - Added: Normalization for **iOS 8+** - Added: `background-repeat` for all elements - Added: CONTRIBUTING.md - Updated: background color and color for `:root` previously `html` - Updated: `::selection` color to `#ffffff` - Updated: dist from CSS source using PostCSS, cssnext, and cssnano - Updated: Documentation ### 2.1.1 (October 5, 2015) - Updated: bower.json ### 2.1.1 (October 5, 2015) - Added: CSS version - Updated: Use percentage `font-size` on `:root` - Updated: Documentation - Removed: `background-color` inheritance ### 2.0.0 (September 3, 2015) - 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 ### 1.2.0 (June 16, 2015) - 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 controls ### 1.1.0 (March 20, 2015) - Added: Form support - Updated: Normalization - Updated: Border assignment ### 1.0.0 (11 6, 2012) - Updated: Moved from normalize.css to sanitize.css > Normalize.css had and still has opinionated, developer-centric styles. For example, `sub` and `sup` elements are styled to not impact the line height of text, and `table`, `th`, and `td` 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. ### 0.0.0 (4 21, 2011) - Added: Normalize.css