Skip to content

Releases: csstools/sanitize.css

13.0.0

14 Sep 14:03
Compare
Choose a tag to compare
  • Added: :where too all selectors, reducing specificity to nearly zero.
  • Added: All elements now use background-repeat: no repeat.
  • Removed: Overly specific select selector.
  • Removed: Unnecessary focus outline fix previously used in Firefox.
  • Removed: Unnecessary evergreen.css, forms.evergreen.css, and pages.css.
  • Fixed: Prevent zero-width space from consuming space in Safari.
  • Changed: Browser support from "last three versions" to "last two versions".

assets.css

  • Added: video to sizing restrictions.

font/system-ui.css

  • Added: Support for system-ui font family in Firefox.

font/ui-monospace.css

  • Added: Support for ui-monospace font family in Chrome, Edge, and Firefox.

12.0.1

20 Aug 08:16
Compare
Choose a tag to compare

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.

12.0.0

20 Aug 08:07
Compare
Choose a tag to compare

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

20 May 17:46
Compare
Choose a tag to compare

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

14 May 04:39
Compare
Choose a tag to compare

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

14 May 04:38
Compare
Choose a tag to compare

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

14 May 04:37
Compare
Choose a tag to compare

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.0

08 Oct 15:49
Compare
Choose a tag to compare
  • 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.1

25 Aug 21:57
Compare
Choose a tag to compare
  • Support the 4-space tab width in Firefox (opinionated)
  • Update documentation

7.0.0

22 Aug 15:54
Compare
Choose a tag to compare
  • Use the default user interface font in all browsers (opinionated).
  • Use the default monospace user interface font in all browsers (opinionated).
  • Use a 4-space tab width in all browsers (opinionated).
  • Fix correction of cursor style of increment and decrement buttons
    in Safari, not Chrome.
  • Correct the text style of placeholders in Chrome, Edge, and Safari.
  • Remove unnecessary form control margin normalizations in Firefox.
  • Remove opinionated fieldset padding in all browsers.
  • Remove ::-moz-focus-inner and :-moz-focusring normalizations
    fixed in Firefox 53
    https://bugzilla.mozilla.org/show_bug.cgi?id=140562