156 points · by dwaxe · 10y ago · 86 comments
https://bugs.chromium.org/p/chromium/issues/detail?id=539385
Engineering is always about trade-offs, and choosing a good balance in Chrome is what made it so popular. The parent of this comment was worried about Chrome's "dominance", but remember Chrome was the last browser to the party. Safari's dominance appears to be the reason Firefox added -webkit prefixes.
If you really think the SVG feature was important and Chrome should support it, then lobby for it to be part of the standard and for other web developers to use it. But it's not a great example of Chrome pushing its whim on others.
The best part of Firefox/Netscape/Chrome/Safari/Opera eating IE's lunch was that they all converged (roughly) on standards compliance, so we didn't have to have "Built for IE 6.0" stickers all over everything. Chrome ditching parts of the standard just because they don't like it is the fast track back to there.
I feel sorry for those developers that have suddenly had their applications broken for them on a whim by the Chromium team.
I write JS code and deliver it to clients. What will I tell them when their website widgets break because Chrome removed SVG support entirely?
I think a bigger potential threat is the dominance of Apple and their control over iOS with the requirement that "Apps that browse the web must use the iOS WebKit framework and WebKit Javascript" and other platform restrictions.
Chrome was released in 2008, when Firefox' share was up to 28% [0] and Microsoft's monopoly already was over. IIRC, Google used former (or hired away then current?) Firefox developers.
[0] Per one source I just looked at
Chrome was insurance for Google. Even with IE's monopoly broken, their search engine could become under threat if someone else outbid them for Firefox's default search. With Chrome having significant marketshare, this is no longer a worry.
It's worth investigating how much money Google lost because Firefox switched to Yahoo, just in the USA, and even accounting for the people that switched back. The number is astoundingly high.
Don't forget that Windows is really the only universal desktop operating system. OS X hard wired to Macs and Linux has really tiny share on desktop market. So those laws about monopolists can be applied to Windows, but with iOS it's a very different situation.
The fact of the matter is that standards are moving fast and better still is the rate at which browsers are implementing those standards is very powerful.
The use of css prefixes is, in my opinion, lazy. Many of popular directives are now implemented by browsers in the generic form anyways. The ones that are not can almost always be achieved through another styling method.
If firefox doesn't support -webkit prefix, the developers are forced to consider the compatibility issues and use something like "autoprefixer" to help. All of the experimental features will work as well as they could on different browsers (IE, Chrome, Firefox...)
But if firefox support -webkit prefix and the developers buy it, they will write something like '-webkit-feature' directly and assume it will work on the major browsers. The problem is, major browsers only includes webkit based browsers, what about IE ?
If a developer uses a non-standard feature directly, forcing he/she to consider the potential problems is better than leaving him/her a fragile solution.
Evidence shows that they don't, and that developers are absolutely not going back and fixing code they shipped years ago, so all the principled stance nets firefox is "firefox breaks <outlook mobile>, it works just fine in chrome, screw that piece of shit firefox".
I opened a ranty support request about the fact that they should consider replacing their web devs if they were unable to create a site that adhered to standards enough that they didn't feel the need to write browser specific code.
Having spent some time in the past few years doing web development myself, I don't feel the least bit sorry for web developers that are using browser specific prefixes, or other crap. In my experience its actually chrome that has serious rendering bugs these days, and FF/IE manage to render pages pretty similarly. So, at this point if your a web developer using chrome as your default target, that should be considered incompetence.
Let's heap some scorn on those websites and internal corporate teams that do all their work on Chrome and Safari and never test on other browsers. It's always laziness (not testing their crap at all) or lame excuses (Chrome is faster, why would I bother?) that's to blame.
I don't mind being the "Firefox guy" on teams I'm part of and making sure my baby always gets some love.
The so-called 'standards' have been dead since Google forced to rubber-stamp the SPDY protocol as HTTP2.
We're gonna have to learn to live in a world where the Internet is owned by Google.
If browser developers really wanted web developers not to use these properties they would have to be enabled, manually, per browser. That would allow people to create implementations and test them, but stop prefixes getting onto the general web. Instead we are left with many browsers (i.e. not chrome) being forced to implement each others prefixes, and to a lesser extend JS libraries.
That is precisely the approach being taken these days. Prefixes are legacy.
It helps if you're the one making the standards. Much of the current web standardization effort is just documenting what Chrome does and what particular bugs Blink has.
Which is exactly what "the current web standardisation" was with respect to MSIE back in the days of the Second War.
Last time I looked into this it required half a dozen barely supported plugins though. If anyone knows a good guide?
Edit: Yes!! Finally!!
Now, if only it would handle favicons the way chrome does it (many sites have a nice favicon for on the Android Launcher desktop in chrome, while in FF they get a low res white on orange star icon. Very ugly... On second inspection, seems like Chrome makes nice icon out of the first letter of the main domain and matches the main color to the one used on the site as a default, while FF has that star.)
Also, it lacks drag-to-refresh as it does in Chrome. But I can tap the address bar and "enter" of course.
You can also "Menu" > "Reload".
color: #0dd;
background-image: -webkit-linear-gradient(to right, #0cf, #0fc);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
https://jsfiddle.net/8kyzg826/The question is were is webkit/Safari is this game. Most website have stylesheets that mention webkit prefixes, and it's now clear why Google removed the prefixes from their webkit fork (blink). It's bad for the end user and the web devs, but good for them.
But now it means firefox has to chase chrome's tail all the time?
Gecko easily could've become a major player as well, but instead of looking ahead and making Gecko more appealing to developers and OEMs, they dropped support for embedded Gecko entirely and doubled down on Gecko and Firefox for all practical purposes being one in the same and forcing anyone interested in using Gecko to wrestle around with XULRunner.
So today WebKit is everywhere (even where Chrome/Blink isn't) and is the bar all others are measured by. Had Mozilla been more amicable to projects like Camino and K-Meleon things might be different now.
Yes, Chrome (at least its rendering engine) is open now. But back when it was released, and the way it was released, was taken by many to be Google taking a big heaping dump on the OSS community.
Their use of vendor prefixes was proscribed by the standards (and may well still be). After years of stagnation in browser technologies, and demand from content producers and developers for advancement, vendor prefixes were seen as a way to vet real-world usage of new standards before they were formalized.
But because standardization was still quite slow, and because vendors (all of them!) were slow to remove prefixes, and because non-WebKit vendors lagged behind WebKit in features (for a while), the proliferation of `-webkit-*` was inevitable.
Today's rejection of vendor prefixes is a reflection of that intersection of problems. They were maybe never a great solution to the problem that preceded them, but they are no longer suitable and that's just fine.
I'd prefer Firefox (and every other vendor) simply disabled handling for prefixes entirely. But there is a ton of content that will never be updated again, and would break. Without some kind of versioning, that's untenable.
And we already saw what happened when Mozilla tried to introduce versioning. (It was never supported by other vendors, and therefore never used by developers.)