Where is Firefox on Acid 3? Here.
Date : 2008 03 27 Category : Tech & DevelopmentSome people have been surprised to not hear much from Mozilla around Acid 3. WebKit and Opera are duking it out, but what about Firefox?
Mike Shaver of Mozilla has posted on his views that Acid 3 is a missed opportunity and is pretty damning of the whole thing:
Ian’s Acid 3, unlike its predecessors, is not about establishing a baseline of useful web capabilities. It’s quite explicitly about making browser developers jump — Ian specifically sought out tests that were broken in WebKit, Opera, and Gecko, perhaps out of a twisted attempt at fairness. But the Acid tests shouldn’t be fair to browsers, they should be fair to the web; they should be based on how good the web will be as a platform if all browsers conform, not about how far any given browser has to stretch to get there.
The selection of specifications is also troubling. First, there is a limitation that the specification had to be suitably finished by 2004, meaning that only standards that were finalized during the darkest period of web stagnation were eligible: standards that predate people actively reviving the web platform, through work like the WHATWG’s <canvas> specification. While this did protect us from tests requiring the worst of SVG’s excesses (1.2, with support for such key graphical capabilities as file upload and sockets, was promoted to CR in 2007), it also means that it includes @font-face, a specification which was so poorly thought of that it was removed in 2.1. I can think of no reason to place such time-based restrictions on specification selection other than perhaps to ensure that there has been time for errata to surface — but in the case of CSS, those errata are directly excluded! Similarly, the WHATWG’s work to finally develop an interoperable specification for such widely-used things as .innerHtml were excluded.
Mike also highlighted a couple of things of note:
"Due to late changes in the Cross Site XMLHttpRequest specification which made our implementation incomplete, it was decided to remove support for this technology rather than include only partial support."
It seems that there is flux in the spec around cookies, so Firefox 3 won't have cross domain XHR which is a disappointment. I really hope that the spec is finalized and we can get this out in browsers ASAP.
Mike points to John Resigs compatibility regression coming out due to code like:
PLAIN TEXT JAVASCRIPT:if (!document.getElementsByClassName) document.getElementsByClassName = function(instanceMethods){ // ... };
The JavaScript implementations don't seem to be implementing the spec (often because they implemented the method before there was ever a spec!!!), so now with browsers coming online with implementations, they are different. The libraries cannot return a live nodelist, and some of them add on magic to the nodes that are returned, which the browser implementations do not.