Firefox and Opera Fail the Acid2 Test 281
naylor83 writes "Four weeks ago, Opera's CTO Håkan Lie put forward the Acid2 challenge to the IE developers at Microsoft. The Web Standards Project has now silently published the promised browser test. Somewhat surprisingly, both Opera and Firefox fail to correctly render the test page. Obviously though, they're no where near as lousy as Internet Explorer. More screenshots are available at my blog, as well as at other people's."
So nothing can display it correctly? (Score:5, Interesting)
And they've had how long to get it right?
In that case, it would seem to me that it is the standard that is broken, if it's really that difficult to render a page with a cascading style sheet.
Re:So nothing can display it correctly? (Score:5, Informative)
Google found an article [spreadfirefox.com] that describes this in more detail
Re:So nothing can display it correctly? (Score:5, Insightful)
I really think it's going to be a tough race verses Firefox and Internet Explorer; Microsoft has more coders out there to throw at Internet Explorer, whereas Firefox already has industry leading stamina and good developmental practices, even if some of them are contraversial (disabling itf domains support, for example). Either way, the browsers will get better, and eventually will be able to render that page without any issue, but it'll just take time.
Re:So nothing can display it correctly? (Score:3, Interesting)
I don't think the standard's broken persay
The term is per se. It's Latin.
CSS 2 isn't ahead of it's time and it isn't particularly difficult to implement. The trouble is that as long as web developers don't use any of it's more esoteric features, bugs and corner cases will continue to crop up in browsers. And as long as the most popular web browser, Internet Explorer, fails to implement half of CSS 2, web developers will refrain from using most of CSS 2 - thus making finding bugs in the more advanc
Re:So nothing can display it correctly? (Score:2, Insightful)
Re:So nothing can display it correctly? (Score:2, Insightful)
Re:So nothing can display it correctly? (Score:2)
about blaming bugs on IE and whatnot: not very useful. let's just praise the wasp people for providing a thorough test, and let's see if the IE/Gecko/Opera developers can get it right.
(keeping my fingers crossed)
Re:So nothing can display it correctly? (Score:3, Interesting)
CSS2 is ahead of its time. It uses the Document Object Model to draw, color, and arrange items in a way agnostic to implementation, and agnostic to content. Sure, we already have programs capable of drawing, coloring and arranging items in a document; each of them being tied inextricably to their creation-engine (Microsoft Word and Word documents, for example). Not only that,
Re:So nothing can display it correctly? (Score:5, Insightful)
These people at the W3C dropped an incomplete spec out of their ivory tower with incoherent documentation, no functioning reference implementation, and no test suite, and we dropped the ball?
Implementation (Score:2)
Re:So nothing can display it correctly? (Score:2)
They do have Amaya, though I have no idea how complete its CSS-support is.
Re:So nothing can display it correctly? (Score:4, Interesting)
Re:So nothing can display it correctly? (Score:5, Insightful)
And just who could afford to do this? If you run a commercial web site, do you want most of your customers to see a page that looks like crap, with a footnote at the bottom saying "We know your page looks like crap, but it's Microsoft's fault, and we hope they will have it fixed within the next two years"?
What will happen is that your customers will go away until it gets fixed. Who loses? Microsoft? or you? Will Microsoft lose any sleep over the fact that you are losing customers? Very unlikely.
Well, in my case (Score:2)
Once all the pages are together though, I'll throw in a
Re:So nothing can display it correctly? (Score:2)
Yes, but for the very same reason, such sites are likely to have even less impact on Microsoft than large commercial sites, even if they DID care (which they have amply shown that they don't).
Re:So nothing can display it correctly? (Score:2)
standards
This is a wonderfully inane/idealistic comment.
What, exactly, are the developers going to do when they need to check that they code they have created displays correctly?
Or, perhaps, they should include yet another browser detection code path for a browser that doesn't exist to which they can emit a "correct" page?
Re:So nothing can display it correctly? (Score:4, Interesting)
> I'll hand it to PDF for being pretty good, even if the software to use PDF (read AND write) is very expensive
On what planet, exactly, is writing PDFs expensive ? I manage to do this for free all the time with a [latex-project.org] variety [sourceforge.net] of [scribus.org.uk] software [openoffice.org] packages [accesspdf.com]. I thought everyone else did the same. If not, well, I'm glad to have possibly helped you cut your PDF production expenses ;-)
> I believe a browser should be smart enough to withstand whatever's thrown at it, and if it recieves errored data, to notify the user as such, and move on
Most browsers, when they receive erroneous[*] data, are perfectly able to "withstand" it (actually, they just ignore whatever tags or parameters they can't understand). I suppose you're talking about not rendering the page if it has bugs ? Well, you *can* force a browser to do that (Gecko will do it if you send an application/xhtml+xml MIME type header), but you cannot generalize this beahviour, for the following reasons : (1) the *vast* majority of Web pages out there are invalid (*cough*Slashdot*cough*), and (2) even those who are valid can be rendered invalid by external factors (ad banner code, for instance). And you cannot fail to render much of the Web, at least, if you want to have users, because without a large userbase, you won't be able to push for more standards support (yes, it's quite ironic, I know).
> it is also our fault for not implementing all of the features
It would probably help if the standard was a tad less obscure. Of course, you've a lot of conformance tests [hixie.ch] out there, but still...
> As Microsoft does have more of the market share, that shouldn't stop people from creating pages that don't work with Internet Explorer
Huh... Yeah, sure. Whatever. I'm sure my customers would be thrilled at the opportunity to break their site for ~80% of their visitors, don't you think so ? Seriously, that's not (yet) possible, the best people can do is make standards-compliant pages that work on most browsers (note I didn't even say "all browsers" because there are differences in CSS rendering between nearly every one of them. *Sigh*).
> If it was anyone's "fault" [...] it's the Web Developers for not using the standards
What about the funny people at Netscape who started the nonstandard tag mania in the first place ? The W3C for not being vocal enough ? I only heard about Web standards fairly recently (a few years). That campaign should have been launched much earlier, *before* the damage (i.e. gazillions of invalid pages all over the Web) was done !
[*] Yes, I'm a grammar Nazi, too. You're out of luck, today *grin*
_editing_ PDFs sucks (Score:2)
There is a serious, design driven lack of any way to edit PDFs. As in, I create a PDF in an application foo, send it to my friend who also has foo, they make changes and send it back. Word has been doing this for more than a decade, and PDF, as far as I can tell, doesn't do this ever. If one of those pieces of software does this, please point it out.
If you want a more detailed text case,
Re:_editing_ PDFs sucks (Score:2)
Just out of curiosity, why are you exchanging PDF files (which are designed to be rendered) instead of $APPLICATION files (which are designed to be edited)?
I always assumed that converting to PDF was the final step, not a repeated intermediate one.
Re:So nothing can display it correctly? (Score:2)
> Well lout at least cannot generate PDF
True enough. It did when I started using it, but this feature has indeed been removed. I stand corrected.
> And how can you talk about displaying PDF without mentioning Ghostscript
Quite easily, in fact ;-) As far as displaying goes, I'll rather use xpdf [foolabs.com] or one of its siblings like kpdf/gpdf. The Ghostscript Viewer is good but it has already crashed on me several times on documents I had no problem viewing with xpdf, so I switched. YMMV, of course...
Re:So nothing can display it correctly? (Score:2)
Re:So nothing can display it correctly? (Score:2)
Re:So nothing can display it correctly? (Score:2)
Re:So nothing can display it correctly? (Score:2)
This is an extremely common standards pitfall. I used to work with one standard, where the documentation for one file format was thousands of pages. No suprise, every vendor implemented a different part of it to varying degrees of correctness. It sucked to no end.
Web standards over the last several years have taken a course of not so much big standards but huge numbers of standards. I'd bet one H
Re:So nothing can display it correctly? (Score:2)
Re:So nothing can display it correctly? (Score:2)
Re:So nothing can display it correctly? (Score:2)
Re:So nothing can display it correctly? (Score:2)
Yeah, it seems to render fine in mine too (assuming it's meant to be a single smiling face with the text "Hello World" floating above). Well, at least there's nothing obviously askew (as there is in the broken Opera and Firefox 1.0 screenshots).
I'm running Firefox built from CVS of a couple of days ago (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050410 Firefox/1.0+).
Re:So nothing can display it correctly? (Score:2)
Sorry, I take back the above. My edition of Firefox does get it wrong. My mistake, I got confused between this URL [webstandards.org] (the reference) and this URL [webstandards.org] (the test). D'oh.
Re:So nothing can display it correctly? (Score:2, Interesting)
Back in the early days of anti-virus software the ICSA labs (I think it was the NCSA labs at that point) started certifying AV products. Their test was pretty simple, it required identification of %100 of the common viruses in the wild that they threw at it. No AV product passed it when the test first came out. By setting the bar high it drove competation in the marketplace and spurred on al
What I'm looking for (Score:5, Insightful)
Re:What I'm looking for (Score:2)
I don't know why they failed, but I do know that there is no obfiscation involved. In fact, WSP published a guided tour [webstandards.org] of the test.
Doug
Re:What I'm looking for (Score:3, Informative)
A big fat DUH! (Score:5, Insightful)
It was known before the test was published that no browser would get it right. That's the whole point!
The reason for having this is to expose bugs in current implementations. Internet Explorer is the obvious retard, implementing about 50% of CSS 2.1, but that doesn't mean that the other browsers can just slack off at 95%. That's not what the W3C is about, it's not what WASP is about, and it's not what this acid test is about.
Safari... (Score:2, Informative)
Re:Safari... (Score:3, Informative)
http://webstandards.org/act/acid2/test.html#top [webstandards.org]
Safari fails for me.
Re:Safari... (Score:2)
how do the others stack up ? (Score:4, Interesting)
safari on tiger anyone ?
please post a screenshot of that I would really be intrested
stats on web browsers market share
w3 numbers [w3schools.com]
The Standard (Score:3, Insightful)
If a CSS standard falls on browser designers to implement, and no one implements it, was it really "the standard?"
Re:The Standard (Score:2, Informative)
one third to half of the standard is entirely un-implemented by Mozilla, Opera and IE.
That depends on what you mean by "and". Internet Explorer doesn't support half of CSS 2, so obviously if you are looking for features implemented by Mozilla AND Opera AND Internet Explorer, then Internet Explorer is going to drag the others down.
If, on the other hand, you are claiming that Mozilla doesn't implement half of CSS 2, Opera doesn't implement half of CSS 2, and Internet Explorer doesn't implement half of
Re:The Standard (Score:2)
However we are in a different situation than simply a poor standards committee and/or poor implementations (I don't care to judge either in this post). Microsoft has an entrenched, stubborn base of non-compliant code run by the majority of Internet users. As such, we have one implementation which carries much more weight than
Re:The Standard (Score:3, Insightful)
There is a presumption of authority on the part of the standardization body in the second sentence above. In real life, a formal standard has only as much authority as the field grants it, by aiming to reach it (and thus making it the standard in the other sense you gave).
The CSS standard defines a convention that browsers may aim for. One could (and many p
Re:The Standard (Score:2)
The funny thing is though, if you look at the W3C member list [w3.org], you find:
The gang's all here.
Re:The Standard (Score:2)
Of course; visibly failing to support something like this would generate very bad PR for whichever browser maker was caught out. The real question, as is often the case with standardisation issues in technology, is whether those who are "signed up" are signed up. If enough of them are, the standard is useful.
Re:The Standard (Score:2)
Blockquoth the AC:
Sure, I'm simply suggesting that actions speak louder than words in matters like this. If Microsoft really are behind the W3C, they'll provide the better support for CSS that many in this discussion are hoping for. If they're just trying to avoid looking like saboteurs while simultaneous
What browser did they use? (Score:5, Interesting)
Re:What browser did they use? (Score:2)
Re:What browser did they use? (Score:4, Insightful)
If your C++ program adheres to the ANSI C++ language specification, and the compilers all get it wrong, then it's the compilers' problems, not yours.
On a more practical note, it is probably unwise to write correct code that trips up bugs in every compiler on the market, but if you are creating a compiler-validation test suite, that's exactly what you want to do.
Re:What browser did they use? (Score:2)
I need code that runs correctly; standards-compliant code that doesn't is worthless to me.
The ANSI C++ spec nailed down the details of some things that different compilers were doing, but doing slightly differently. It formalised things that had been decided by consensus, and compelled things decided by near-consensus.
The W3C standards have regularly nailed down the details of things nobody was doing at all, without it being clear any
Re:What browser did they use? (Score:2)
I need code that runs correctly; standards-compliant code that doesn't is worthless to me.
This is what I mentioned at the end of my post; correct-but-unworking code is useful only for standards-conformance test suites; for practical purposes, you just want something that works (and if you are using a mechanism that isn't implemented correctly, you work around it by using something else).
Several years ago, I debugged a crash for a fr
Re:What browser did they use? (Score:2)
For that matter, if there *is* a renderer out there that works p
Re:What browser did they use? (Score:2)
For the purposes of this one specific test, it should be very easy to write a renderer which correctly interprets only the miniscule portions of CSS and HTML actually used in this example. This may have been what was actually done here.
As for "proof", it should be possible to hand-interpret the CSS and HTML and determin
Valid CSS? (Score:3, Interesting)
-molo
CSS validator results [w3.org]
* Line: 46
Parse Error - second two]
* Line: 91 Context :
Invalid number : color orange is not a color value : orange
* Line: 97 Context :
Property error doesn't exist : }
* Line: 100 Context :
Property m rgin doesn't exist : 2em
* Line: 100
Parse error - Unrecognized : };
* Line: 102 Context :
Invalid number : width only 0 can be a length. You must put an unit after your number : 200
* Line: 103 Context :
Parse Error - ! error;
* Line: 103 Context :
Parse error - Unrecognized : }
Re:Valid CSS? (Score:5, Informative)
Re:Valid CSS? (Score:5, Informative)
Re:Valid CSS? (Score:2)
The Real Lessons (Score:4, Insightful)
The real lessons to be learnt from this seem to be getting lost here. If we put aside the MS vs Moz, FUD vs non-FUD and not-as-broken vs either broken or not debates we can see that web designers should have something to look forward to in the (near?) future.
Finally, here is something that could actually give the browser developers something to aim for and help to pull together the standardisation of modern CSS rendering. From how that smiley face is supposed to look I'm already quite excited about what we'll be able to do once all of the browsers are up to scratch.
Now all we need is for the browser developers to take note of this, use it as a learning tool and a target to aim for and give the web design/development community a hell of a lot less stuff to debate about.
It could happen...
But of course, in addition to this they shouldn't let the acid2 test be a final goal and then just sit back and let themselves get rusty. Personally i'd like to see a publicly available acid test for all the new versions/revisions of CSS standards so that Joe Home User can more easily choose which browser to use. An acidN test once every 8 years?
This is the fast moving world of technology, don't you know.
Obvious point (Score:2)
Re:Obvious point (Score:2)
Article subject (Score:2)
In a perfect world it should read "every browser fails the acid2 test". Instead somebody chooses to single out firefox and opera.
Re:FUD (Score:4, Informative)
did you look at the FF rendering and the IE rendering? Neither is perfect, but the IE rendering is absolutely horrid.
Re:FUD (Score:3, Informative)
Re:FUD (Score:2, Informative)
Internet Explorer is famous for being crap. It's the new Netscape 4. So when somebody says "obviously", they aren't an anti-Microsoft troll, they are simply stating facts. If IBM o
Re:FUD (Score:3, Insightful)
There's no degree of broken.
Yes, there is. If Firefox gets, say, 90% of the CSS rules correct, and Internet Explorer gets, say, 40% of the CSS rules correct, that's significant.
If FireFox was more disappointing, it wouldn't ahve been mentioned at all.
Huh? Firefox made the headline as failing the test. Internet Explorer didn't. And you consider that to be FUD against Microsoft?
Re:FUD (Score:2, Insightful)
At the end of the day, no it's not. Broken is broken.
In a way I agree - I think implementing CSS2 to its full extent would be more than twice as good as implementing half of it.
At the same time I think implementing 80% is better than implementing 35%.
Re:FUD (Score:2, Interesting)
At the end of the day, no it's not. Broken is broken.
So when Firefox applies the display: table-cell rule correctly, that's utterly meaningless and should be filed as a bug because Firefox applies other rules on the same page wrongly? You aren't making sense.
There are many, many CSS rules in the test. The test is designed to exercise lots of different areas of CSS.
If you think that there's no useful information beyond "no browser applies all of the rules correctly", well then you've wasted your
Re:FUD (Score:2)
Fair enough. I was talking about standards compliance. Never mind, you win.
"What does open-source have to do with this?"
Obviously not what you claim it is. Let me ask you a question: Was this story posted to light a fire under the FireFox dev team to make it better, or was it posted because it
Re:FUD (Score:2)
Right, that's why they snide comment about how lousy IE is was in the headline, right? You're deluding yourself.
Re:FUD (Score:2)
Selective reading?
" Obviously though, they're no where near as lousy as Internet Explorer."
It's right there in the summary. Don't call me a troll if you're not even going to try listening to me. I really don't care if you agree with me or not, but being willfully ignorant isn't 'cool'.
Re:FUD (Score:2)
So? Slashdot got to make fun of IE and praise FireFox in one blow. Gee, I wonder why they posted it?
" I'm emphatic, because I don't like to see people criticised by people who are ignorant of the issues,"
Whatever.
Re:FUD (Score:2)
Broken is broken, yes: that's a tautology. But some things are more important than others. Which would you rather have broken on your car? The hubcap or the rim? The ashtray or the steering wheel?
IE's standards support bites ass. Its absolute lack of two things (full PNG support and fixed positioning) has hindered web development greatly. It's piss-poor box model is responsible for some of the nastiest-looking CSS hacks around. Firefox's sup
Re:FUD (Score:2)
When I have to use IE because something didn't render right in Opera, then I have every right to demand perfection. Not only do the standards need to be supported, but thanks to the de-facto market share of IE, the mutations to the standard that Microsoft caused.
Re:FUD (Score:2)
You are not consistent.
Re:FUD (Score:4, Informative)
Also, don't get me started on performance. 3 machines in the lab range between 300Mhz celerons with 96MB ram and an IBM Personal Computer 300 (600Mhz celeron with 96M ram). Firefox on those is a no-no. Not only b/c painfully slow startup times, but also, painfully slow rendering of pages. Opera renders pages faster while running a kernel compile in the background than Firefox does on an idle computer. What's there in gecko that makes it so much slower than Opera or khtml? (Yes, you heard it right, starting Konqi from a foreign - Blackbox - wm is actually much faster both in startup and rendering of pages than firefox).
These slow machines function as simple 'terminals' btw - they have opera, gaim, xmms, rox - that can be choosen from a simplified menu.
This must be said at the risk of loosing karma (I have plenty, so go ahead) - there is something wrong with Firefox and its rendering engine, not only in compatibility or correct rendering of pages, but in performance as well. And this is not a minor issue, the performance difference b/w say opera or khtml and gecko is significant. So I have only one demand: inform the potential users correctly, don't give them the false impression that Firefox is better in every way than IE. It is not, and such misinformation will only create a backlash. 2 of those users are now actively looking for more and more justfications to have IE back as the standard browser. They are not interested in philosophy or open source ideals. They are interested in accessing the sites they want.
Re:FUD (Score:3, Interesting)
At the end of the day, I'd like to drive home in the car that's timing is a little off causing a loss of 2 mpg and 3 hp, as opposed to the car that is in such a state of disrepair that the axle falls off after 2 miles and the fuel tank spontaneously combusts.
There's also the idea that, assuming all parties are working to make their browser compliant, then it may also be assumed that one party may be closer to reaching full complaice than the other.
O
Re:FUD (Score:2, Funny)
Re:FUD (Score:2)
Re:FUD (Score:2)
No at the end of the day a browser that has correctly implemented 90% of CSS has a 90% chance of correctly rendering of arbitrary complexity that implements CSS. A browser with 40% implemented has a 40% chance.
Obviously that is not the total picture; you could make the issue drastically more complex by arguing the commonality and usage of certain parts of CSS. As well as the theoretical usage of parts if authors were able to reasonably expect them to
Re:FUD (Score:2)
That is not true. Broken is broken but there are dozens of various pieces of technology that compose this test. The uglier the rendering the more of those individual elements are broken.
In the real world you will maybe have 1 or 2 of the elements used in this page in your entire website. If 80% of them render correctly in FF/Opera and 20% in IE (don't take those specific numbers to heart) then FF/Opera are 4 times more likely to render your site correctly than IE. By all mean
Unsupported claim count: 6 (Score:2)
Let's count the unsupported assertions in this post, shall we?
According to whom? And on what basis?
How about "number of features correctly implemented" / "total number of features in spec"?
Why not? I think it's very likely that they'll claim exactly that.
Re:Unsupported claim count: 6 (Score:2)
Ask anybody who has to hop to IE to visit certain sites.
"How about "number of features correctly implemented" / "total number of features in spec"?"
Yeah, I retracted that bit. I was seeing things a little differently than others.
"FUD is a fairly specific charge to lay against someone, and in this case seems hard to justify. Editorial bias perhaps?"
I agree that Editorial bias is a stronger term than FUD in this case.
"And you know this how?"
4 years of expe
Re:Unsupported claim count: 6 (Score:2, Insightful)
"Ask anybody who has to hop to IE to visit certain sites."
Well, if you get to a site where a CSS2 feature breaks in Opera or Firefox, switching to IE isn't going to do you a load of goodRe:FUD (Score:2)
Not without a snide comparison to MS.
Re:FUD (Score:2, Informative)
Slashdot editors will systematically post any negative news about Microsoft (or, if they're positive, spin them negatively) and will quietly ignore many negative news about open source issues.
That's a lie. This is negative news about a high-profile open-source project, and they didn't ignore this.
See for example the recent Mozilla vulnerability discovered by Secunia. It was published by the Register, CNET and many others. The Slashdot editors didn't find it worth posting.
This is also a lie [slashdot.org].
You
Re:FUD (Score:4, Insightful)
Given that Microsoft itself does not pretend that IE has a complete CSS 2.1 implementation, it cannot be FUD to state that it is obvious that IE will do worse on a test of CSS 2.1 than other browsers which do claim to implement that particular standard.
Note also that many people consider CSS 2 to be overcomplicated and not very useful in practice. It is therefore not necessarily even a bad thing for a browser to fail this test - arguably, a browser that passed it would be bloated, as it would implement all sorts of things that are not necessary to view 99.99% of web pages. So to say that IE fails the test badly is not only not FUD - it isn't even (necessarily) a criticism!
Any chance you could train your knees not to jerk so quickly, please?
Re:So.. (Score:5, Informative)
http://webstandards.org/act/acid2/test.html#top [webstandards.org] == test page
Re:So.. (Score:2, Informative)
Re:So.. (Score:4, Informative)
It's supposed to be invalid. The CSS specification defines error handling, and Internet Explorer gets it wrong. A conforming user-agent would never apply those rules.
In fact it is necessary for this stylesheet to be invalid - otherwise it wouldn't test the error handling parts of the CSS specifications.
Re:So.. (Score:3, Informative)
Re:Typical Slashdot Slant (Score:2, Insightful)
Re:Typical Slashdot Slant (Score:2)
Re:Typical Slashdot Slant (Score:3, Insightful)
It's "obvious" because it's true (Score:2, Flamebait)
Re:Typical Slashdot Slant (Score:3, Informative)
On slashdot, the users submit (and thus, author) stories. They aren't generally schooled in the intricacies of journalism. It's not fair to expect 'professional' journalistic practices from them.
As unfair as it is to expect standards never stated nor implied, the comparison to Fox News is especially bad. Fox outright lies about their objectivity. Most people don't hate Fox News because of their conservative bias, but because they try to pass it
Re:Works just fine on W2K Advanced Server (Score:5, Insightful)
I tried it on the pretty much the same machine as you (just plain Server vs Adv Server though), and it was the same hideous red mess shown in the IE screenshot.
Re:Is it really a failure? (Score:2, Informative)
Re:Who's behind the test? (Score:2)
Re:Who's behind the test? (Score:5, Informative)
Firstly, the errors are there on purpose, to check the error handling conformance.
As for whether the <textarea> is shrink-to-fit or not, the CSS 2.1 specification has this to say [w3.org].
The "rule number three" says that it is shrink-to-fit.
Your mistake is in referring to 10.3.3, which explains what to do for non-replaced block-level elements in normal flow. You should be referring to 10.3.7, which explains what to do for non-replaced block-level elements that are absolutely positioned.
Re:Painful (Score:2)
you took way too much acid, dude.
Re: (Score:2)