csstools / postcss-normalize

Use the parts of normalize.css (or sanitize.css) you need from your browserslist
Creative Commons Zero v1.0 Universal
816 stars 40 forks source link

Upgrade normalize.css to v7.0.0 #17

Closed maiis closed 7 years ago

jonathantneal commented 7 years ago

Thanks for filing this PR! I dislike turning a PR down, but you may have noticed your tests are failing. Please see: https://github.com/jonathantneal/postcss-normalize/blob/master/CONTRIBUTING.md#submitting-pull-requests

There’s another issue here, too. PostCSS Normalize is predicated on using a browserlist to normalize the differences between the browsers one supports. I’ll make this clear in the README.md.

I say that because several opinionated styles were regrettably added to the earliest versions of normalize.css. They were removed in v6, but have since been re-introduced in v7. In fact, that’s the only difference between v6 and v7. As a co-creator of normalize.css, I’m saying those changes are wrong, and that release was cut immaturely. In all the years normalize.css has been around, its opinionated additions have never been adopted by or provided as direction by any browser or standards body. They’re not going to happen. Therefore, adding them here when a browserlist is involved would be pure fantasy, akin to babel lonesomely changing what typeof returns in JS. :)

There’s plenty good in normalize.css :) and we’ll accept any additions that actually help browsers, or as I’ve heard:

Eat the meat and spit out the bones.