Safari Passes the Acid2 Test
TigerX writes "The Mac web browser Safari has become the first browser to pass the Acid2 test. Acid2 is a CSS/HTML test suite put out by the Web Standards Project (WASP). Developer David Hyatt had been working on the project for the past few weeks. Details can be found at his blog. The patched Safari is not yet avaliable for public consumption. It is unknown when the patches will appear in a public version of Safari."
Will the patches appear in Konqueror (KHTML)?
Lacking <sarcasm> tags,
So, uh, Safari doesn't actually pass the Acid2 test yet, but it might at some point in the future after they've finished making sure that the proposed fixes don't break anything else?
Well, anyway, good for the dev in question. Will he be contributing his code back to the KHTML project, or are Apple going to try and keep this proprietary?
Which does point out the problem with tests like Acid2, which really don't resemble any code in the wild that anyone has ever used. What you end up with is browsers that are brilliant at rendering completely pathological corner cases, but only at the cost of changing some other well-thought-out-but-not-standardised. behaviour.
Now, I admit that this is purely hypothetical, but surely a better guide to browser usability is how well it renders the morass of dodgy XML/HTML that gets sent to it every single day.
Optimise for corner cases, and it possible that all you'll get are really well rendered corner cases.
Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
I tried this in Opera 8 beta, and it seems to render correctly (FF on the other hand makes a pile of cr*p out of it)
Don't Tell Me What I Can't Do!
BrowserCam does a pretty nice job of showing how funky this page can be rendered by several browsers. I had 20 screenshots for different versions of IE, Opera, Firefox, Mozilla, and Konqueror in a relatively short period of time.
Says hello world! and a error on the page.
However, it does have pretty colours and looks a bit psychadelic, so maybe it did pass the acid test after all?
FYI, the original acid test with the Grateful Dead and Ken Kesey
The Fillmore Acid Test Fillmore Auditorium, San Francisco, CA January 8, 1966
1. Stage Chaos/More Power Rap 2. King Bee 3. I'm A Hog For You Baby 4. Caution: Do Not Step On Tracks > 5. Death Don't Have No Mercy 6. Star Spangled Banner / closing remarks
The Sound City Acid Test 363 6th Street, San Francisco, CA January 29, 1966
7. Ken Kesey interviewed by Frank Fey 8. Ken Babbs and harmonica 9. Take Two: Ken Kesey 10. Bull 11. Peggy The Pistol 12. One-way Ticket 13. Bells And Fairies 14. Levitation 15. Trip X 16. The End
He who knows best knows how little he knows. - Thomas Jefferson
Know what's really funny? The Acid2 test doesn't pass the W3C's CSS validator.
Laziness, check. Impatience, check. Hubris, double check!
Quite apart from the merits of the Acid2 test, its use of rendering a smiley face both (a) to be the test itself and (b) to show the quality of the test result ... is clever!
Most tests create an abstract "score" such as "85% compliant" which can be rendered by a graphic, such as a pie chart, but which is fundamentally different from the test itself. This abstraction process is extra work both for the researcher and for the reader. There is also the danger that it can be misleading. Edward Tufte has written on this at length in "Visual Explanations" and other books.
To put the test & the results together in a meaningful, intuitive package, as Acid2 seems to have done, is just great!
--- Attorneys Assisting Citizen-Soldiers & Families -
Yeah, I went through the comments on Dave Hyatt's blog and found this link in the comments section (the same link you give above), and I was pretty shocked. Like most folks, I thought that KHTML was benefiting from Apple's contributions. However, after reading the critique by Zack Rusin (one of the KHTML developers), I took a closer look at some of the patches that Dave Hyatt posted links to on his blog.
While many of the patches were simple logic changes, a few of them had OS X specific code in them which makes them non portable. Hyatt's follow-up comments indicate that he tried to hide many of the Mac-isms behind an abstraction layer so that they could port cleanly to other platforms, but a cursory glance at the patches shows that he didn't hide everything.
So while this is a great win for Apple and for Mac OS X, it's not the boon to KHTML that many thought it would be.
Personally, I'm disappointed that the Safari team would put Mac-specific code into the KHTML engine, making some of their patches impossible to incorporate back into the KHTML baseline. This is the kind of thing I would expect from a novice programmer who's only ever coded for, say, Windows.
(Just a side note to the poster I'm responding to: Most folks who read your comment probably didn't realize the significance of it because they didn't follow the link. A brief summary of what the link is pointing to would have been really useful.)