Closed chasemccoy closed 5 years ago
Would it make more sense to update normalize to v8.0.1 instead of just removing that one property? Maybe there would be other benefits to upgrading?
It probably would, but it was such a big version jump I avoided it in this PR. Happy to open another if that's the route we want to go, but I am not sure what other effects that change would have.
The plan is to update to the latest normalize whenever I get around to finishing v1 https://github.com/KyleAMathews/typography.js/issues/158
This seems like a good change in the meantime.
The normalize.css in this file is very outdated, and sets the
-webkit-text-decoration-skip
property toobjects
, which causes underlines to overlay descenders on Safari on macOS and iOS. Normalize has since removed this property.Whenever I use typography.js I always have to remember to fix this by setting
-webkit-text-decoration-skip
tounset
manually. We should remove it here so that users don't have to apply a fix manually.Ideally, the entire file would be replaced with the latest version of normalize.