Socket
Socket
Sign inDemoInstall

sanitize.css

Package Overview
Dependencies
0
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234Next

13.0.0

Diff

Changelog

Source

13.0.0 (September 14, 2021)

  • 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".
jonathantneal
published 12.0.1 •

Changelog

Source

12.0.1 (August 20, 2020)

  • Fixed: Used case-insensitive attribute selectors in the evergreen variations.
jonathantneal
published 12.0.0 •

Changelog

Source

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.
jonathantneal
published 11.0.1 •

Changelog

Source

11.0.1 (May 20, 2020)

  • Fixed: Documentation is updated.

This release is primarily made to update the polyfill used by cdnjs.

jonathantneal
published 11.0.0 •

Changelog

Source

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.
jonathantneal
published 10.0.0 •

Changelog

Source

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.

jonathantneal
published 9.0.0 •

Changelog

Source

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.
jonathantneal
published 9.0.0-rc6 •

jonathantneal
published 9.0.0-rc5 •

jonathantneal
published 9.0.0-rc4 •

234Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc