Firefox Will Support Non-Standard CSS For WebKit Compatibility (theregister.co.uk)
RoccamOccam writes: Mozilla developers have discussed a plan to implement support for a subset of non-standard CSS prefixes used in WebKit. Mozilla developer Daniel Holbert says: "A good chunk of the web today (and particularly the mobile web) effectively relies on -webkit prefixed CSS properties & features. We wish we lived in a world where web content always included standards-based fallback (or at least multiple-vendor-prefixed fallback), but alas, we do not live in that world. To be successful at rendering the web as it exists, we need to add support for a list of frequently-used -webkit prefixed CSS properties & features."
So basically, Edge and Firefox have to adopt their shitty, broken, prefixed CSS, because web developers were too lazy to do things right... just like how Mozilla and others have had to adopt IE6-isms, because developers were too lazy in the same way. Great. Shows just how professional my peers are that they refuse to develop to proper standards, and worse, developed sites without proper (and usually trivial) fallbacks... all for mere eye candy.
This was much more an issue a few years ago when the iPhone was much more dominant on the mobile web.
...with thunderous applause.
Yay! On one hand it's nice that Mozilla will render everything as desired. But on the other hand, we've already suffered a long hard fought battle against non-standard crap sites targeting non-standard browsers. So, boo for allowing Apple to be the new Microsoft.
It's the site designers faults, first and foremost. But Mozilla's actions are aiding and abetting. Boo!
Here's a list of the "-webkit"-prefixed properties.
https://compat.spec.whatwg.org...
At least at an initial glance, it seems to me that the criticisms about WebKit being "the new IE" are generally misplaced, since most of the listed properties are aliases for the standard versions of those properties. I.e. WebKit was the first rendering engine to support those properties, but it did so while the web standard was being finalized, so it prefixed those properties, as it is supposed to. Lazy developers implemented those properties using the prefixed property, since that's all that was available at the time, but didn't go back to fix the code afterwards when the standard was finalized.
Long story short, WebKit did things exactly as they were supposed to. They implemented a proposed standard, prefixed it as they were supposed to, and then implemented the standard version later while maintaining support for the prefixed version. Really, the only ones who aren't following best practices are the developers too lazy to update their code to work with the current standards, but if we're going to blame WebKit for being too quick to support proposals, then we may as well blame the other rendering engines for being so slow that the lazy devs couldn't use their prefixed versions. Two sides of the same coin. It's no surprise that one side blames the other.
this is becoming an habit with firefox. doing the popular and easy thing, however dubious, instead of correct and proper thing, however difficult,
freedom is undermined more often by laziness, not outright villainy
"A good chunk of the web today (and particularly the mobile web) effectively relies on -webkit prefixed CSS properties & features. We wish we lived in a world where web content always included standards-based fallback (or at least multiple-vendor-prefixed fallback), but alas, we do not live in that world. To be successful at rendering the web as it exists, we need to add support for a list of frequently-used -webkit prefixed CSS properties & features."
This has always been the case. Are they telling us they had no clue it's been this way all along?
The point of the vendor prefixes was so vendors could implement experimental, non-standard, or all around "stuff that is not meant for all browsers".
That way, I can put a webkit prefixed property to do something webkit specific (maybe to compensate for a bug), and not have to worry about other browsers. It's not perfect: webkit is a very broad subset of rendering engines, there's differing versions, etc...but it could be worse.
And so Firefox will make it worse. What happens when the latest evergreen version of both browsers diverge? We need to fall back to hacks and bullshit, without browser specific properties to fallback on. Time to go back to the good old days of browser hacks and browser specific stylesheets?! I can't wait!
when web sites see their numbers start to plummet cause no one can view their site properly, maybe they'll fix it with standards compliant code.
Except that's not what happens. Websites don't see their numbers plummet, browsers see their market share plummet when people notice the site works in one browser and not in another browser. Guess which of those 2 groups Firefox is finding themselves inside. They want to be in the other group, and they don't want to wait for website developers to get their shit together or else Firefox is going to go the same way as Netscape.
If Webkit doesn't want to comply
Webkit is following the standard just fine. The drafts clearly said that browser vendors should implement experimental properties with their own prefixes prior to things being finalized. Every major vendor has their own prefix that was used during that time. Those prefixes are no longer needed, but web developers still launch sites that have the -webkit prefix only, without support for any other browser. So, only Webkit browsers use that CSS, and other browsers look like shit because the web developers didn't bother to put the standard properties, only the prefixed properties. The problem is not browsers, it is lazy and/or incompetent website developers (again).
"Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
We wish we lived in a world where web content always included standards-based fallback (or at least multiple-vendor-prefixed fallback), but alas, we do not live in that world.
Yeah, mainly because people keep caving in and supporting non-standard shit. C'mon, show a little backbone, will ya?
systemd is Roko's Basilisk.
If other engines wind up having to implement other vendor's prefixes anyhow, why even bother with a standards body? This seems rather dubious...
Those prefixes are no longer needed, but web developers still launch sites that have the -webkit prefix only, without support for any other browser. So, only Webkit browsers use that CSS, and other browsers look like shit because the web developers didn't bother to put the standard properties, only the prefixed properties. The problem is not browsers, it is lazy and/or incompetent website developers (again).
This is true, BUT, when people encounter a page that doesn't display properly on one browser, but works fine on another, they automatically blame the browser, not the lazy, shitty developers.
There is a simple fix -- name and shame. If a non-webkit browser encounters a page with only a -webkit prefix, then the browser should display a message which says something along the line of "This page contains code specifically designed for Safari, Chrome or Opera and may not display properly if you are using a different browser".
It's not a perfect solution, but at least it informs the user that the problem is with the lazy, shitty developers and not the browser. Time to grow some balls -- name and shame.
Have you filed a bug?
So you're saying the way to get market share is to tell your users to use a different browser.
I looked at the list, and it's really no big deal. Firefox will just add support for some aliases for standard names, so that existing websites that use "-webkit" prefixes will "just work" today. That's good for users, and it doesn't mean the 'death of standards' or anything like that. It's reasonable to ask people to use the standard names going *forward*. However, it takes a long time for older sites to update, and they rarely update completely correctly. This decision means that Firefox users will have a good experience looking at other sites.
- David A. Wheeler (see my Secure Programming HOWTO)
There is a problem with Webkit: prefixes were supposed to be for experimentation only, but Apple has always promoted Webkit-prefixed properties as being suitable for use on production sites.
Also, we've figured out that prefixes are useless for what they were designed for (enabling standards to evolve without having to be compatible with early experimental versions). Authors like to "future proof" their sites by writing CSS like "foo { -webkit-blah:pong; blah:pong; }", which means the standardized "blah" is almost as constrained by existing content as it would have been had it never been prefixed. That's why Chrome and Firefox don't prefix any new stuff any more. Instead we keep it behind flags so it's never available to all users until standardized.
Unfortunately Apple doesn't like that message and continues to implement prefixed stuff and promote its use.
With whom? He's an anonymous coward. They don't file bugs, they just sprout shit out of their ass making spectacular claims without anything to back it.
A better solution, rather than naming the browsers that the page was "designed for", which would just make users change to one of those browsers when they see the message frequently: "This page contains obsolete experimental tags for features which have since been standardized", and have Webkit based browsers display the message as well.
Have you filed a bug?
Bugzilla doesn't take anonymous reports. I have an account, but Bugzilla won't let me log in, instead telling me my password isn't complex enough.
Why not instead put the blame on the free software community for failing to produce HTML tools that live up to the feature set and usability of Adobe CS6?
HTML4 has been superseded by HTML5. To which specific non-conformances do you refer?
I'm still wondering if and when Mozilla will give gecko a good ole rewrite.
I thought that's what the Rust language and Servo engine were for.
and told they're not making any more changes until they fix a major, longstanding bug..