Opera 9.0 Fully Passes ACID2 Test 418
Rytis writes "Opera has just become the second browser after Safari to be able to pass completely the famous ACID2 test. Mark Wilton-Jones is running a little article on the history of the Opera and ACID tests. Of course, it includes a screenshot of Opera 9 showing the nice happy face saying "Hello world!"."
Tweaked (Score:5, Interesting)
Re:Konqueror passed 2nd (Score:5, Interesting)
But seriously, who gives a shit who came first, second or whatever; I think the important thing is that browser developers are obviously making an effort to ensure stricter standards compliance. I assume someone must be working on this for Firefox, so does anybody know when we can expect to see Firefox pass Acid2 as well?
Re:Konqueror passed 2nd (Score:5, Interesting)
Re:ACID passed, real world? (Score:0, Interesting)
I think both these 'minor league' browsers over emphasize CSS support (like ACID) because it gets them headlines at wankerfests like Slashdot. As Internet Explorer has shown, having a solid JS DOM is much more important than supporting every CSS corner case.
stop lying for Apple (Score:0, Interesting)
No its not. Where can I download the source?
Oh wait I can't. Not an OSS project. I can get the khtml part -- which I've already got because we real open source people made it. khtml is _L_gpl, so it can be linked to closed source code -- like safari. Safari is a closed source app that uses lgpl khtml. Good on them for using khtml, bad on you for lying about safari being OSS.
You CANNOT build safari with the webkit and other bits of source they give you. I'm getting tired of people claiming Apple is a lot more friendly toward OSS then it is. Its just using OSS for a free ride.
Who the hell cares (Score:1, Interesting)
Safari hates malformed pages (Score:5, Interesting)
There are a lot of crappy pages out there. If a page doesn't make it through the HTML validator why should anyone expect a browser to render it? Are your pages at work valid? What's the point of standards-compliant rendering engines if they all allow exceptions to the standard to be rendered?
A lot of times Safari won't render big chunks of web pages because of malformed markup [mozillazine.org]. Dave Hyatt (rightly, I believe) doesn't want to spend lots of coding effort dealing with error recovery when parsing sloppy web pages. Browsers like MSIE and Netscape (pre-Mozilla) are too permissive and have allowed people to get away with downright bad HTML.
That said, the Safari Compatibility Hit List [opendarwin.org] was recently created, to either fix Safari compatibility problems or to encourage sites to fix their markup.
Yeah, but... (Score:5, Interesting)
Safari, iCab, and Konqueror aren't for Windows (Score:5, Interesting)
It also makes Opera the first publicly available web browser that renders the Acid2 page correctly under the Microsoft Windows operating system. This is important if you don't want to have to re-buy your PC (in switching to Mac OS X, which runs only on Apple hardware) or your peripherals (in switching to Linux, where SANE still doesn't support my flatbed scanner [sane-project.org]). Or is Konqueror for Cygwin/X considered stable yet?
For the curious - (Score:2, Interesting)
Also, It would appear that Opera 9 has just one thing wrong - the nose. It's not supposed to be blue, it's supposed to be black, as per the sample rendering here: http://webstandards.org/act/acid2/reference.html
Re:Konqueror passed 2nd (Score:1, Interesting)
we just need all browsers to get there.
I'm all for web standards, but isn't ACID2 a purely academic excercise? It's nice that a browser passes it, of course, but in the real world practically nobody is going to be using CSS in that way.
Re:This does NOT pass Acid 2 (Score:5, Interesting)
Remember the CBDTPA? (Score:2, Interesting)
Only in the corporate world [does the dollar matter above all].
For one thing, browser developers need to eat.
More importantly, the corporate world pulls the strings of the government in too many highly developed countries. If Microsoft gets to a certain level of power over the United States government, then Microsoft could make a new "security" (that is, anti-fair-use) feature attractive to publishers in the next version of IE, make the feature exclusive using patent law, anti-circumvention law, or something else, and then con [ytmnd.com] Congress into requiring that feature in web browsers distributed to the public. Remember the proposed CBDTPA [google.com] and Microsoft's application for a patent on operating system support for the "trusted" computing [theregister.co.uk] that would have been required under the CBDTPA?
Re:Tweaked (Score:4, Interesting)
The reason Opera is "victimised" by older scripts is due to the ridiculous decision of that company to add code stubs for functions it did not actually support (I remember when it had document.getElementById(), which always returned null - that's why many scripts look for the Opera string, and block it).
Re:WebKit matters, not the Safari frontend (Score:5, Interesting)
Not tested any others but I'm sure Xylescope, TextMate and OmniBrowser all use WebKit too.
Re:Yeah, but... (Score:5, Interesting)
Why is it so hard to follow standards? (Score:2, Interesting)
Re:And, on cue... (Score:3, Interesting)
Personally, I think the correct rendering of the ACID2 test is a blank page, or maybe an error message that says something like, "This is not a web page."
Re:ACID passed, real world? (Score:2, Interesting)
Re:Remember the CBDTPA? (Score:3, Interesting)
The whole point is, we as a community are trying to start a new computer industry. Fuck it if they say it won't fly, fuck it if they say we don't have enough 'investors', fuck it if they say we don't have the power.
We have to push for change. Every day that you accept things the way they are and post 'oh, just give up' diatribes, you're hurting your community.
We ultimately decide who's in power as far as technology goes. We tell the non-techs what to buy, and they believe us. Dell and MS commercials play a large part in obstructing our goals, lying to our non-tech friends and confusing them, but as long as we don't just give in and start to believe the lies there is hope.
We don't want MS to have this much power any more. We are doing something about it, telling friends about alternatives and helping people get off their ignorant MS addiction.
Stop fighting your community.
Re:Hit the Nail on the Head (Score:3, Interesting)
Several reasons.
First of all, it's very hard to write a language that's powerful enough to be useful for interesting real-world problems, but still strict enough to make 'well formed' versus 'badly formed' a simple binary decision. Second, and more important, a language spec not only contains a syntax definition -- the rules that say how statements should be written -- it also defines the semantics of the language: the rules that say what a given statement means.
Take C's famous:
x = 3;
x = x++ * x--;
for instance. It's well-formed code, but the semantics are undefined. Officially, x can contain any value after that snippet executes, and it can legally contain a different value every time the snippet executes. BNF (the language used to write syntax defnitions) isn't powerful enough to define that as a syntax error while leaving "x = y++ * z--;" alone, because BNF doesn't have any way to identify specific variables. OTOH, mandating a specific result in the semantic definition imposes all sorts of subtle order-of-execution constraints, which create all sorts of problems for any programmer who wants to write a compiler.
In the world of HTML semantics, there was the big "is a paragraph a container, or just something that sits between blocks of text (like a break)?" debate back in the mid-90s. Choosing the 'container' option made CSS possible, but it broke the (then) standard rule that <P> was semantically equal to <BR><BR>.
On top of that, HTML is a structural language, not a layout language. There's no universal 'standard' that says the bullet points in a list have to be indented, or that paragraphs should have a blank line between them. Those are formatting conventions that graphical rendering engines have more or less agreed upon, but which aural web browsers (for instance) can't render at all.
Bottom line, an HTML document is not and was never intended to be handcuffed to one specific page rendering. There are an infinite number of equally valid renderings for any HTML document, so declaring one 'right' and another 'wrong' is a tricky business indeed. Plus, there are about ten different, legal, W3C-approved versions of HTML, based on at least three different syntactic and/or semantic models. <P>text</P> is valid HTML-3.2, for instance, but invalid XHTML-anything, because in XHTML, all tag identifiers MUST be lowercase.
Under those conditions, a browser that chokes on pages that don't conform to one specific set of syntax rules, one specific semantic model, and one specific set of rendering conventions would be roughly useless.
Re:ACID passed, real world? (Score:3, Interesting)
getElementById confuses name and id. If you have an item with a name that is the same as the id you are looking for if the name was defined first then opera will return that. That is flat out broken behavior and it was copied from IE and it is still broken in Opera 9. http://www.gtalbot.org/BrowserBugsSection/Opera9B
That is the reason why neither opera or IE are supported for our more advanced editing interfaces. It just takes too much money to code around the bugs in those browers compared to the customers just downloading firefox, safari, konqueror etc. We have even given them a choice and they preferred to just download firefox.
Re:Overhyped test... (Score:3, Interesting)
If instead the HTML spec would have clearly explained what should happen when elements appear in places where they shouldn't appear, this problem would hardly exist. This lesson was learned by the CSS spec writers (they tell exactly how to parse the CSS file, whatever you put in it) and the XML spec writers (they tell to show a big honking error message whenever something is wrong with the file).