5 ms·
One notable thing about the dominance of Chrome (and the decline of Firefox) is that WebKit is now a de facto standard. The desktop and mobile versions of Chrom
by twblalock 10y ago
One notable thing about the dominance of Chrome (and the decline of Firefox) is that WebKit is now a de facto standard. The desktop and mobile versions of Chrome and Safari are based on it, and according to Microsoft, "any Edge-WebKit differences are bugs that we’re interested in fixing." (https://en.wikipedia.org/wiki/Microsoft_Edge https://en.wikipedia.org/wiki/Microsoft_Edge). That covers every major desktop and smartphone browser except Firefox.
At some point, developers are going to target their stylesheets for WebKit only, because Firefox rendering differences are going to be seen as nuisances that aren't worth overcoming in order to reach a tiny minority of users. Firefox will have to work toward WebKit compatibility as Microsoft Edge does.
WebKit is doing pretty well for something that was originally part of KDE.
- ricardobeat 10y agoFirefox already does that, started long ago. They even added support for -webkit prefixes for the same reasons.
- twblalock 10y agoAs I can tell you from experience, they don't work all of the time, and it is a source of frustration for front-end developers I know who need to work with it.
- Manishearth 10y agoYou're not supposed to use the webkit prefixes. The only reason firefox has them is because some older websites will stop working. Most of them have equivalent standardized features, or are in a state where you really shouldn't be using them. Don't expect every webkit prefix to work in Firefox.
- gkop 10y agoI'm not sure we're supposed to think about prefixes at all, but instead just let https://github.com/postcss/autoprefixer https://github.com/postcss/autoprefixer do its thing.
- Manishearth 10y agoSo yeah, using prefixes to make props work on older browsers is fine. Using only the prefixed version of a property or a property that doesn't have an unprefixed version at all is not.
- pjmlp 10y agoYes, in abstract Webkit only support sounds nice. In reality, each mobile device and consumer computer has a different Webkit version.
- yRetsyM 10y agoExcept Google and the Chrome team have forked WebKit as Blink, and are running quite a different development path. There's now Blink, WebKit, Gecko, Trident in mainstream and a few others lurking.
- dchest 10y agoIt was true a few years ago, but Chrome no longer uses WebKit, they forked it to their own Blink engine, so now there are differences between them and you have to write stylesheets for both (example: -apple-system font vs BlinkMacSystemFont). Although some code is still being ported between them (e.g. Safari recently "Enabled support for a modern CSS parser, ported from Blink, that improves performance, specification compliance, and compatibility with other browsers, while also adding support for scientific notation in all CSS numbers" https://webkit.org/blog/7120/release-notes-for-safari-technology-preview-20/ https://webkit.org/blog/7120/release-notes-for-safari-techno...).
- epalmer 10y agoI manage 134 branded sites for a university and a handful of other sites. We target IE11, Edge, Safari, FireFox and Chrome compatibility with desktop and mobile (ios, android). Once Microsoft announced sunsetting support for earlier browser versions our job got a lot easier. We all said "thanks MS, took you long enough". In the last 30 days for the branded sites we have roughly these percentages of sessions by browser: chrome 46% safari 32% ie 11% firefox 8% edge 2% This for about 370,000 sessions. We will continue to support the same browsers for the next two to three years and then adjust as needed.
- mattwoodnyc 10y agoThank you, I'm always interested in seeing browser metrics in other industries. I'm assuming safari is so high due to your higher-ed audience.