Open dahlfors opened 8 years ago
We use autoprefixer which should be adding the vendor prefix for us. It looks like from perusing our dist/
folder that font-smoothing
does not automatically translate to -webkit-font-smoothing
font-smooth property is not part of standard:
Though present in early (2002) drafts of CSS3 Fonts, font-smooth has been removed from this specification and is currently not on the standard track.
It is very bad thing. Autoprefixer could not add prefixes for non-standard properties, because CSS will not be useful in future.
postcss/autoprefixer#763
So it looks like there's no plans for autoprefixer to support this property, nor an assurance it will continue to exist, meaning it should probably be removed altogether.
@jlukic This seems to be a well know bug for font-smoothing: antialiased;
.
How come it still not be change to -webkit-font-smoothing: antialiased;
?
To clarify, this is not a bug. font-smoothing
is a non-standard feature of certain browsers.
https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth
Non-standard This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
Though present in early (2002) drafts of CSS3 Fonts, font-smooth was removed and this specification is not on the standards track.
You could probably use https://github.com/morishitter/postcss-font-smoothing as an alternative and recommend this in the README or something.
Hi, when I hover the boxes the white text is changing smoothing automatically and getting it fixed automatically as well, not sure why font smoothness is being changed. I don't know ?
Semantic-UI uses "font-smoothing: antialiased" in six different places: https://github.com/Semantic-Org/Semantic-UI/search?q=font-smoothing&type=Code&utf8=%E2%9C%93
There is no such CSS property, neither is such a property planned to be included in CSS in any near future.
To affect font-smoothing you need to use the vendor-specific "-webkit-font-smoothing: antialiased;" and "-moz-osx-font-smoothing: grayscale;".