Slashdot Mirror


Opera 9.0 Fully Passes ACID2 Test

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!"."

90 of 418 comments (clear)

  1. Konqueror passed 2nd by GraZZ · · Score: 4, Informative

    Actually, Konqueror passed second. Some might say this is less of an achievment since the fixes that allowed Safari to pass could be more easily ported into the Konqueror codebase, but I still think the OSS project that passed Acid2 first should probably get more respect on /. ;)

    Info here.

    1. Re:Konqueror passed 2nd by Derek+Pomery · · Score: 5, Informative

      RTFA and you'll see this.
      "Opera 9 (get the weekly build) now passes the Acid 2 test, making it the second browser to do so. And yes, I can count. Safari passed first, and Opera is second. Konqueror and iCab almost pass (and claim to pass), but they both fail to apply one of the styles required by the test..."

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    2. Re:Konqueror passed 2nd by babbling · · Score: 5, Insightful

      I don't think this should be judged based on how much of an achievement it is. The important part is that the browser passes the ACID2 test. How hard it was for each individual browser to get there is not important.

      Who got there first also isn't important, we just need all browsers to get there.

    3. Re:Konqueror passed 2nd by Bralkein · · Score: 4, Interesting

      Well, since KHTML and KJS (I think?) were ported over to Mac OS in the first place in order to create Safari, which then allowed the Apple devs to create the patches that allowed it to pass Acid2, patches which could not then be easily applied back to KHTML and KJS because the code sometimes didn't meet KDE's standards or because the patches were sometimes not supplied in a format that they could easily work with, maybe the KDE devs put in more effort overall :-P

      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?

    4. Re:Konqueror passed 2nd by jZnat · · Score: 4, Interesting

      I don't know, but Konqueror does indeed appear to pass the Acid2 test. The only problem I can see is this odd scrolling bug, but that probably isn't supposed to be able to scroll anyhow.

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    5. Re:Konqueror passed 2nd by Derek+Pomery · · Score: 5, Informative

      I was merely pointing out what the article said. And since the Opera guy points out the page *isn't* supposed to scroll, I imagine a scrolling bug would indeed qualify as incorrect rendering, so the artifacts in your screenshot would merely support Opera's point.

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    6. Re:Konqueror passed 2nd by onedotzero · · Score: 4, Informative

      It's not supposed to have a scrollbar at all. The parent div (or html or body - I haven't checked the source for a while) is given a property of overflow: hidden.

      --
      onedotzero
      thedigitalfeed.co.uk

    7. Re:Konqueror passed 2nd by Derek+Pomery · · Score: 4, Informative

      https://bugzilla.mozilla.org/show_bug.cgi?id=acid2
      Track Gecko progress here.  Including screenshots.
      Link as plain text due to /. referers being blocked.

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    8. Re:Konqueror passed 2nd by Phil+John · · Score: 4, Informative

      Safari is an OSS project too.

      No it isn't, WebKit, the rendering engine Safari uses, is an open source project. Safari itself is very much closed source.

      --
      I am NaN
    9. Re:Konqueror passed 2nd by Bogtha · · Score: 5, Informative

      That's not a bug, that's exactly what is supposed to happen when you scroll the page. From the technical guide:

      In the markup, the row is represented by a p element which is fixed to the window rather than the scrollable canvas. If the Acid2 page is scrolled, the scalp will stay fixed in place, becoming unstuck from the rest of the face, which will scroll.

      --
      Bogtha Bogtha Bogtha
    10. Re:Konqueror passed 2nd by oglueck · · Score: 2, Insightful

      This is a bug tracking tool and not a news site. People need this to get their work done. We don't want this slashdotted for a reason.

    11. Re:Konqueror passed 2nd by Derek+Pomery · · Score: 3, Insightful

      Duh.
      And anyone who wants to check up on the bug can copy and paste the URL.
      There is nothing wrong with that.
      The referer block does exactly what it should. Reduce reflexive clicking/tab opening, and making it a conscious descision by folks who want to look at it.

      So folks. Don't listen to oglueck here - perfectly alright to visit the link if you have an interest, and even, yes, post *informative* commentary in the bug (such as regressions, related bugs, progress in recent builds, etc)

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    12. Re:Konqueror passed 2nd by Anonymous Coward · · Score: 5, Insightful

      > 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.

      It's not purely academic, it's eminently practical - as the site explains, all of the features are unlikely to be used on the same page, but designers rely on each one of them to work correctly at some point, and have been requesting proper support for years so their pages look consistently good on all browsers.

    13. Re:Konqueror passed 2nd by Krach42 · · Score: 4, Informative

      Safari hides the scrollbar, so I don't know what you're talking about.

      From what I've read here, Konquerer still shows the scroll bar, and Opera doesn't have the scalp come off when you scroll.

      So, Safari passes, everything else still got some work?

      At least they all pass a hundred times better than IE...

      --

      I am unamerican, and proud of it!
    14. Re:Konqueror passed 2nd by xiong.chiamiov · · Score: 3, Informative

      Because they don't care about standards. Firefox does not completely pass, but it's almost there. However, take a look at a screenshot from IE7. And what does MS say? "To relieve the tension, we'll just tell you now: we don't give a crap about web standards, so IE7 will have to have code especially designed for it, hopefully leading to the extermination of alternate browsers." (paraphrased and interpreted with no bias at all from here)

    15. Re:Konqueror passed 2nd by Tecfreak7 · · Score: 2, Informative

      The scalp still comes off when you scroll in Opera, it's supposed to.

    16. Re:Konqueror passed 2nd by badboy_tw2002 · · Score: 4, Insightful

      I'm not much of a MS fan myself, but can you really say "paraphrased without bias" and not be trolling?

      From your link:
      "I want to be clear that our intent is to build a platform that fully complies with the appropriate web standards, in particular CSS 2 ( 2.1, once it's been Recommended)."

      Its not really paraphrasing when you make up ideas. That's called "reading between the lines", and you didn't even do that.

  2. ACID passed, real world? by toomanyhandles · · Score: 5, Insightful

    Great that they pass the ACID test, but the real-world is just not perfect or by-the-book. They need to be able to handle what really happens, too. Example, my workplace Exchange web interface- Safari misses parts of the page, FireFox renders it fine. ACID test or no, I like the one that works in all situations.

    1. Re:ACID passed, real world? by damn_hippy · · Score: 2, Insightful

      I agree with you on that. It can pass all the certifications it wants, but until Opera supports some of the more basic javscript methods IE and FF have no problem with, it will never be my browser of choice.

    2. Re:ACID passed, real world? by Anonymous Coward · · Score: 5, Informative

      Could you be a little more vague? It's not unexpected for browsers with different rendering engines to render things differently, especially for web interfaces, very especially if it comes from Microsoft.

      Moreover, it's a fallacy to expect a browser to "work in all situations". I'm sure there are plenty of real-world situations where Firefox fails as well, and where Safari were to succeed in it's place. It's tests like ACID2 that determine a browsers capability to handle all situations.

      The problem Safari is having with Exchange is very likely due to poor coding. Considering it's from Microsoft (you said Exchange web interface, right?), I'm sure Microsoft implemented a slew of hacks to have Firefox compliance (Microsoft is well known for improper web developing practices, to put it lightly).

    3. Re:ACID passed, real world? by IHSW · · Score: 2, Informative

      For example? Please keep in mind the article is referring to Opera 9.0 Preview 2 (latest snapshop, according to here), which Opera notifies against the use of previews.

      preview
      • of an experimental nature
      • distributed to a limited audience, i.e. forums, newsgroups, and IRC
      • should never be installed over a final release
      • not to be used as a substitute for a final release
      beta
      • available for all users, but recommended only for advanced users
      • thoroughly tested, though known to contain bugs
      • usually feature-complete
      • data backup is highly recommended before use
      final
      • intended for wide-scale release and use
      • thoroughly tested and relatively free of critical problems
      • should never be installed over a preview or beta
    4. Re:ACID passed, real world? by Kjella · · Score: 4, Informative

      ACID test or no, I like the one that works in all situations.

      First off that one hasn't been built, as I've seen IE manage to screw up royally too on sites claiming to work with IE, sometimes only with IE. The trouble with trying to match IE bug for bug is that you can't succeed as you can never duplicate the implementation exactly, you need to render pages wrong according to the standard, and worst of all it is never predictable. I really hate "trial-and-error" programming, and IE is the worst of the bunch.

      In your case, you're trying to use MS generated HTML. I'm sure the fact that Firefox can render it is completely accidental and will be fixed in the next Exchange service pack. You can't expect a company that has a vested business interest in not playing nice, to play nice. The ACID2 test is an assurance that if I code to the standard, I will see none (or at least very few) rendering issues on any browser (except IE). That is very reassuring to people who think "OMG supporting five browsers, do I have to make 5x the number of hacks?" No, you don't. In fact, you'll code to one standard and fix hacks for one browser. Which is actually better than to code to zero standards and fix hacks for one browser...

      --
      Live today, because you never know what tomorrow brings
    5. Re:ACID passed, real world? by foniksonik · · Score: 2, Informative

      What would be really really nice is if the target browser for real world applications could even get close to passing a standard test. For many years now we've been forced to put the cart before the horse to support IE due to it's dominance on the desktop. Personally I've spent an additional 40 hours in just the last two months hacking around IEs lack of CSS2 support for web projects I've worked on.

      Seriously these layouts worked perfectly in Safari, Firefox, Opera the first time around... just based on standards... then I started looking at IE and realized, oh crap! I had to jump through hoop after hoop and ended up having to compromise the design mulitple times which irked my Creative directory to no end (as I'd said "no problem, this design can be done in html + css).

      --
      A fool throws a stone into a well and a thousand sages can not remove it.
    6. Re:ACID passed, real world? by Anonymous Coward · · Score: 5, Informative
      I agree with you on that. It can pass all the certifications it wants, but until Opera supports some of the more basic javscript methods IE and FF have no problem with, it will never be my browser of choice.

      The problems with Opera's JS arise in three situations:

      1) The site specifically blocks out Opera due to scripts 5-6 years old, but happily copypasted throughout the web project by brainless "web designers". Or server-side sniffing, like Yahoo did and still does, AFAIK.

      See here for example, one that I found just a few minutes ago when informing myself of the latest and greatest Bollywood hit: http://www.rangdebasanti.net/

      Their JS code contains this:
      var dom=document.getElementById&&navigator.userAgent.i ndexOf("Opera")==-1 ...
      if (ie||dom) ...
      Use Proxomitron or Opera's cloaking techniques to get rid of the "Opera" part in UA string, and what do you know, the site works perfectly!

      2) The site doesn't block Opera per se, but exhibits "if IE or Netscape" behaviour. Of course Firefox deals with those, as it descends from Netscape. Opera doesn't, and Opera is not IE, either, so it end up in no man's land...

      3) The site has JS errors, and Opera is pretty strict when parsing JS, more so than Firefox or IE.

      Honestly, Opera does not have any JS issues. None whatsoever. It's brainless webmonkeys who have issues with their JavaScript.
    7. Re:ACID passed, real world? by Bogtha · · Score: 3, Insightful

      Safari's DOM API is very incomplete. Probably only about 60-70% of what Firefox implements. Oprah's worse, maybe only 30-40%

      I haven't found that. Firefox is ahead on some things and behind on others. For example, Safari supports DOM 2 mutation events, but Firefox doesn't.

      As Internet Explorer has shown, having a solid JS DOM is much more important than supporting every CSS corner case.

      You're joking, right? Internet Explorer's DOM support is prone to memory leaks and doesn't support basic things like event handling. I'd rephrase your statement as:

      "As Internet Explorer has shown, having the largest market share is much more important than supporting most of the CSS or DOM specifications, because that way the web developers work for you, not the other way around."

      I think that a lot of people have blind spots, where they are completely unaware of many parts of the specifications, because they don't work in Internet Explorer or Firefox.

      --
      Bogtha Bogtha Bogtha
    8. Re:ACID passed, real world? by Anonymous Coward · · Score: 4, Informative
    9. Re:ACID passed, real world? by Bogtha · · Score: 5, Informative

      IE does support event handling, it just doesn't work the official way.

      It doesn't support event handling as defined by the DOM specifications. My comment is perfectly clear when you don't cut the quote off prematurely.

      Referring to Internet Explorer's proprietary DHTML interface as a "DOM", while technically accurate, is misleading as in common use, the term "DOM" refers to the W3C specifications.

      boohoo.

      How about a little maturity?

      As for memory leaks, FF DOM has the same kinds of issues.

      a) No it doesn't, many Internet Explorer memory leaks are an artifact of the JScript engine being unable to refcount properly.

      b) You implied that Internet Explorer had a "solid" DOM. That is not true regardless of the quality of Firefox's DOM. Internet Explorer's DOM doesn't get more "solid" if you distract people by talking about other browsers.

      --
      Bogtha Bogtha Bogtha
    10. Re:ACID passed, real world? by timeOday · · Score: 2
      It's not unexpected for browsers with different rendering engines to render things differently, especially for web interfaces
      I question that. I know the original idea was to let the browser determine the appearance, but the idea never really caught on. Content producers want control over appearance, and most users/clients don't particularly want the responsibility. The byzantine web standards for separating content from presentation all the way down to the client aren't worth the bother and compatibility problems. I've seen the pages where you can select among dozens of different styles for a web page using CSS. Most of the styles have presentation quirks, but more importantly the whole exercise is pointless.

      Web content and formatting should be separated on the server side in whatever way is useful to content producers (as they already are), then sent to the client in a more postscript-like language that specifies appearance, with some control for font size and text reflowing. The would allow simpler, more compatible browsers and more consistent presentation. I think this evolution is already happening, as HTML and later CSS have evolved towards more precise specification of appearance, and also with the rise of pdf documents linked from the web.

    11. Re:ACID passed, real world? by NickFitz · · Score: 2, Informative

      As Internet Explorer has shown, having a solid JS DOM...

      DOM Level 1 Core states that "The DOM presents documents as a hierarchy of Node objects". As IE/Win is capable of creating a node with two parents and creating a node whose parent is the child of one of its siblings - that is, a non-hierarchical structure - it can hardly be claimed that it has anything to teach anybody in this area.

      (I'm aware that these effects are caused by invalid markup, and that other browsers also have problems agreeing on what to do; but the simple fact is that the DOM is defined as a tree, and IE/Win internally uses a data structure which is not a tree. So it's difficult to see how its DOM implementation can ever work properly.)

      --
      Using HTML in email is like putting sound effects on your phone calls. Just say <strong>no</strong>.
    12. Re:ACID passed, real world? by kwoff · · Score: 2, Interesting

      In network programming, the "best practice" is "be strict in what you send and tolerant in what you receive". In any kind of programming, I think one should strive to fail as gracefully as possible.

    13. Re:ACID passed, real world? by BZ · · Score: 2, Insightful

      Firefox supports a large subset of DOM Mutation Events. Not all of them (in part due to the spec being so vague and ill-designed as to not be reasonably implementable), and the support is not bug-free, but there is some support.

    14. Re:ACID passed, real world? by n0dalus · · Score: 2, Insightful

      2) The site doesn't block Opera per se, but exhibits "if IE or Netscape" behaviour. Of course Firefox deals with those, as it descends from Netscape. Opera doesn't, and Opera is not IE, either, so it end up in no man's land...

      Actually, the real problem with Opera is that it tries to support both W3 DOM standards as well as IE's crazy broken stuff, but then goes on to do some things differently to IE. So, if because IE is broken in some regard and you check for a certain DOM element or function existence to see if it's IE (and act accordingly), Opera, in its attempt to emulate IE, ends up being broken by the hack.

      It's hard enough for web developers to put up and deal with IE's crap, for then Opera to come along and get broken by all the hacks because it tries to emulate half of IE's behaviour. Then you have to put in more hacks so that Opera won't get broken by the IE-specific stuff.

    15. Re:ACID passed, real world? by Ambassador+Kosh · · Score: 2, Interesting

      I am sorry but opera does have broken javascript.

      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/Opera9Bu gs/ Look at bug 17 for the example.

      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.

      --
      Computer modeling for biotech drug manufacturing is HARD! :)
  3. Tweaked by Stellian · · Score: 5, Interesting

    What's more interesting, will it pass ACID3? It's easy to tweak the engine untill it passes a single known test. Historicaly, Opera had (and still has?) problems with both JavaScript and CSS. I must admit though, that the rendering in Opera 8 (pre ACID2) is much better than Mozilla's.

    1. Re:Tweaked by vcv · · Score: 2, Informative

      Had... yes.. back before 7.x.

      Now it's javascript and CSS support are superb. Opera and FF are about equal in those departments.

    2. Re:Tweaked by FyRE666 · · Score: 3, Interesting

      Opera 9 still displays visual artifacts when using DHTML/DOM Scripting/(whatever people are calling it this week). I recently coded up a quick demo for a bigger project - the demo allowed an image to be uploaded, resized and moved about using Javascript, then "stamped out" by using js+php. I only tested Opera out of interest as It's always been pretty flaky with Javascript/CSS. Moving images with the mouse was fine, but resizing (in the app, this was done by grabbing a corner and moving it) resulted in pixel trails which looked kind of cool, but were not supposed to be there. The "fix", was to continually change the z-index of the image as it was being resized, causing Opera to refresh the canvas.

      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).

    3. Re:Tweaked by makomk · · Score: 2, Informative

      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).

      That would certainly explain it, if it's true - it's all very well testing whether the browser supports the feature rather than what browser it is, but that breaks down if web browsers pretend to support things they don't.

  4. It claims to but fails by Momomoto · · Score: 5, Informative

    FTA:

    "Konqueror and iCab almost pass (and claim to pass), but they both fail to apply one of the styles required by the test, and as a result they display a scrollbar even though they shouldn't (the Acid 2 guide neglects to mention this style, but see the source code for the test itself):

    html { ... overflow: hidden; /* hides scrollbars on viewport, see 11.1.1:3 */ ... }"

    --
    "Max, come over here. French-Canadian bean soup. I want to pay. Let them leave me alone." - Dutch Schultz
  5. AGREED:ACID passed, real world? by sreekotay · · Score: 2, Insightful

    Two sides to this: (1) conformance for developers (makes our lives easier) (2) compatibility for consumers (they don't care about making our lives easier)
    --
    graphicallyspeaking

  6. Good news by BertieBaggio · · Score: 4, Insightful

    A big well done to the Opera team. Safari passed the test in November last year, and hopefully Firefox will pass soon as well. Increased standards compliace is a Good Thing(tm) for users and webmasters alike. If the minority browsers continue to push standards (which the tech-savvy webmasters follow) it will push IE into improving its own rendering engine. Although even their unreleased version seems to be a bit behind the times...

    From TFA: It is somewhat worrying that IE 6 renders Acid 2 very similarly to Opera 3.6, and the hyped IE 7 renders it very similarly to Opera 4.

    'Somewhat worrying' indeed. I know people (of the pretty-damn-computer-literate variety) that won't switch from IE6 because it "works fine for them". I'm sure they know about the vulnerabilities [now that Symantec says so, it must be official!], the rendering issues and speed*, but they are sticking to their guns. So the only way people like this will have their experience enhanced is by teams like Mozilla and Opera pushing the browser envelope and hoping IE take interest. Either that or some X factor that makes the alternative browser a 'killer app', rather than IE, which is an app killer. (I couldn't resist, sorry!)

    Well done again to Opera. Webmasters everywhere are silently saying a big 'thank you'.

    *Note: I am aware that some will say that IE 6 loads quicker/renders quicker than FF. I have found the two of comparable speed for light pages, and FF slightly faster for 'heavier' pages. Opera is faster than both of them. Draw your own conclusions, and install all three (or two if your run a non-Windows OS). I found an old demo disc with IE 3 recently, and will be trying that out.

    --
    If all you have is a grenade, pretty soon every problem looks like a foxhole -- MightyYar
  7. I like how... by katterjohn · · Score: 5, Insightful

    ... they show IE screenshots, but don't show how close/far away Netscape and Mozilla and Firefox are from passing.

    1. Re:I like how... by I+confirm+I'm+not+a · · Score: 2, Informative

      ...don't show how close/far away Netscape and Mozilla and Firefox are from passing.

      Happy to help! Firefox 1.5 is nearer to Opera 8 than Opera 7.5: the background is yellow (good), the eyes aren't quite right (bad, comparable to Opera 8) and the mouth has turned into a cigar (bad, Opera 8 does this better).

      Sorry, best I can do without getting off my backside and doing something useful with screenshots. And I'm not going to get off my backside on a Sunday.

      --
      This is where the serious fun begins.
  8. Re:Cool by Uber+Banker · · Score: 5, Insightful

    Firefox is good. The plugins extend the browser hugely.

    But I'm happy with Opera, be it for the faster responce I get on the same machine as I have Firefox installed on, the ability not to search for plug ins for whatever feature I need, 'it just works'

    I just find Opera is faster at implementing standards, is more reliable with IE geared sites (don't like the fact, but I have to be pragmatic and deal with it as promoting interoperability is not what pays my bills), is more innovative (has important new features first and has them 'out of the box') and makes a good testing ground for my projects, and is all together very nice. And now it's free (as in beer).

    Firefox is good. Opera is good too. Different priorities for different users, I don't have access to source code or the ability to contribute in the same way, but for me I'm fine with that. Both are far superior to IE's features, security and map for an interoperable internet in the future. Nuff said.

  9. Re:*smack* by Stellian · · Score: 3, Informative

    If you have RTA, you would know that Konqueror claims to pass, however it fails to aply a final style-sheet.

  10. Internet Explorer getting better by eebra82 · · Score: 5, Funny

    I am happy to see that Internet Explorer 7 passes the ACID2 test somewhat better now. It is actually possible to see the resemblance of a happy face now. Good job, Microsoft!

    1. Re:Internet Explorer getting better by Anonymous Coward · · Score: 5, Informative

      Provide a link to the image, or people here won't understand your subtle sarcasm. :)

    2. Re:Internet Explorer getting better by Jugalator · · Score: 3, Funny

      Poor guy! He looks slaughtered and covered in blood. :'(

      IE 7, the Hannibal of web standards? :-/

      --
      Beware: In C++, your friends can see your privates!
  11. who was first after safari? by gEvil+(beta) · · Score: 3, Insightful

    Opera has just become the second browser after Safari...

    Second browser after Safari? Which was the first after Safari to do it? Oh, you mean the second browser, after Safari...It's amazing what commas can do. Learn to use them.

    --
    This guy's the limit!
    1. Re:who was first after safari? by cthellis · · Score: 2, Funny

      Commas are the difference between:

      Let's eat out, Grandma!
      and
      Let's eat out Grandma!

  12. Re:iCab by Anonymous Coward · · Score: 3, Informative

    According to WaSP (the people who wrote the Acid2 test), Safari passed first, followed by iCab and Konqueror. and Safari was the first browser to have a public release that rendered it.

    That makes Opera the 4th browser to render Acid2 correctly.

    This page has a bit of info on it, http://dean.edwards.name/weblog/2005/04/acid2-sp/

  13. Re:Second browser? by Anonymous Coward · · Score: 3, Informative

    RTFA and you'll see this. "Opera 9 (get the weekly build) now passes the Acid 2 test, making it the second browser to do so. And yes, I can count. Safari passed first, and Opera is second. Konqueror and iCab almost pass (and claim to pass), but they both fail to apply one of the styles required by the test..."

  14. An ACID test giving a smiley? by G3ckoG33k · · Score: 4, Funny

    Is that a coincidence?

    1. Re:An ACID test giving a smiley? by RoffleTheWaffle · · Score: 4, Funny

      I would've expected dancing rainbow-colored bears, honestly.

  15. See how your browser fares... by fugas · · Score: 5, Informative

    Take the ACID2 test...

  16. Safari hates malformed pages by kherr · · Score: 5, Interesting

    Example, my workplace Exchange web interface- Safari misses parts of the page, FireFox renders it fine. ACID test or no, I like the one that works in all situations.

    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. 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 was recently created, to either fix Safari compatibility problems or to encourage sites to fix their markup.

  17. Yeah, but... by Anonymous Coward · · Score: 5, Interesting

    Can opera handle third party cookies properly yet? A little more important than styles rendering in my opinion.

    1. Re:Yeah, but... by Jugalator · · Score: 4, Interesting

      Can you be more specific what's not handled correctly? I can block third party cookies, I can manually delete third party cookies, and I can allow them, and the cookie settings seem to reflect they're not added when they should, and respected when they're allowed. If you're talking about a specific bug here, you must be much more clear about what you're talking about.

      --
      Beware: In C++, your friends can see your privates!
  18. Safari, iCab, and Konqueror aren't for Windows by tepples · · Score: 4, Interesting

    According to WaSP (the people who wrote the Acid2 test), [Browser not for Microsoft Windows] passed first, followed by [a second browser not for Microsoft Windows] and [a third browser not for Microsoft Windows]. [...] That makes Opera the 4th browser to render Acid2 correctly.

    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). Or is Konqueror for Cygwin/X considered stable yet?

  19. For the curious - by RoffleTheWaffle · · Score: 2, Interesting

    Firefox comes pretty close to passing the test, but not quite. Its performance falls somewhere between Opera 7.5 and 8.0, but sadly I haven't the means to post my own screenshot. However, curious users can go ahead and take the test themselves right here: http://webstandards.org/act/acid2/test.html

    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

    1. Re:For the curious - by Bloater · · Score: 4, Informative

      It's supposed to be blue when the mouse pointer is hovered over it. We don't know the location of the mouse pointer in the Opera screenshot.

    2. Re:For the curious - by toriver · · Score: 2, Informative

      But it is: The mouse cursor is on top of the container with the hover pseudo-class (start the test yourself to see that it triggers the hover effect on the whole "box" not just the nose).

  20. More elaborate history by Jugalator · · Score: 4, Informative

    Mark Wilton-Jones is running a little article on the history of the Opera and ACID test

    There's a more useful history about it here (in reverse chronological order), describing what exactly the standard compliance problems were, and how they fixed them, starting with Opera 8.00.

    And go to the Opera Desktop Team blog to download the actual build that works with this. However, note that this build should be treated like a Firefox nightly, and there may be some pretty serious rendering regressions, doing currently more damage to the layout engine than good from following the Acid2 test. ;-)

    --
    Beware: In C++, your friends can see your privates!
  21. big deal by Anonymous Coward · · Score: 3, Funny

    i know a guy who passed the acid test back in college... twice!

  22. WebKit matters, not the Safari frontend by tepples · · Score: 4, Insightful

    In a discussion about the Acid2 test, you claim that Safari isn't free software:

    WebKit, the rendering engine Safari uses, is an open source project. Safari itself is very much closed source.
    But the frontend code isn't very relevant to this discussion. Safari passes Acid2 if and only if WebKit passes Acid2. Or do you claim that Apple maintains a private WebKit tree with patches that don't get released to the public and that one or more of the private patches is required for WebKit to pass Acid2?
    1. Re:WebKit matters, not the Safari frontend by JulesLt · · Score: 4, Interesting

      Presumably that means that other WebKit based software should also pass - the latest build of Shira looks like it does.

      Not tested any others but I'm sure Xylescope, TextMate and OmniBrowser all use WebKit too.

      --
      'Capitalists of the world, unite! Oh ... you have' (League Against Tedium)
    2. Re:WebKit matters, not the Safari frontend by the+argonaut · · Score: 2, Informative

      Apple maintains their own fork of webkit. Code is often contributed back to the KDE team, but is often not directly usable by them, as the Apple fork is significantly different in places. At least that was the situation a couple months back.

      They don't maintain their own fork of WebKit, WebKit *IS* the fork. KDE doesn't use WebKit, they use KHTML and KJS, from which WebKit was derived.

      --
      fuck you.
  23. No it hasn't... by raz0 · · Score: 5, Informative

    It's the :hover event. If you hover the nose with the mouse, the nose turns blue.

  24. Re:This does NOT pass Acid 2 by Dubpal · · Score: 4, Informative
    I can clearly see the blue nose in the opera screen shot, and it's meant to be black in the reference diagram.

    The nose changes color when you mouseover it. Even in the mess that is Firefox's rendering of the page hovering your mouse over the face causes the nose to change colour from black to blue.
    I guess that's something they really should specify in the reference diagram, but it's still a pass for Opera 9.

  25. Re:This does NOT pass Acid 2 by wheany · · Score: 4, Interesting
  26. Remember the CBDTPA? by tepples · · 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 Congress into requiring that feature in web browsers distributed to the public. Remember the proposed CBDTPA and Microsoft's application for a patent on operating system support for the "trusted" computing that would have been required under the CBDTPA?

    1. Re:Remember the CBDTPA? by dave1212 · · Score: 2, Interesting

      You sound like you would welcome this crap.

      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.

  27. Re:stop lying for Apple by minus_273 · · Score: 2, Informative

    Since you don't know how to google, you can download the source like this:
    svn checkout svn://anonsvn.opensource.apple.com/svn/webkit/trun k WebKit

    you can also grab the latest nightly build of Safari here: http://nightly.webkit.org/
    (look at the icon and download it if you don't believe me)

    http://webkit.opendarwin.org/ has more info.

    --
    The war with islam is a war on the beast
    The war on terror is a war for peace
  28. Re:ACID2: valid test or not? by vidarh · · Score: 5, Insightful
    The point is that the CSS spec specifies exactly the behavior a browser should use to handle invalid CSS: It should ignore the declaration, but continue to parse the file. A browser that accepts invalid CSS declarations, or fails to recover and continue parsing is not conformant.

    So the test is verifying conformance not only with treatment of valid CSS, but also correct treatment of invalid CSS, which is very important given that a significant part of compatibility problems between current web-browsers is caused by different behavior in the face of errors - whether they ignore it, stop parsing, try to render it anyway etc.

  29. Re:Ah opera... by TrekkieGod · · Score: 5, Insightful
    I've barely been making websites a year, and even I've learned that on the web, markup standards are only a guideline.

    Then maybe you should stop making websites, because people like you are the problem.

    They're "only a guideline" in that the FBI won't knock on your door if you don't follow the standards. And oh yeah, a lot of browsers will accept your sloppy coding and "render it fine." However, if you want a world where all browsers render all content in the same way, that can't be accomplished by the developing team of any browser. That can only be accomplished by developing and following standards. So, you blame the browser when they don't follow them, and you blame the web developer when he doesn't follow them.

    I'm fine with browsers who want to go the extra mile and have non-standard code render correctly, as long as they don't sacrifice proper rendering of the standard code to do it. That doesn't excuse you coding incorrectly, though.

    --

    Warning: Opinions known to be heavily biased.

  30. Lynx doesn't pass... by Anonymous Coward · · Score: 5, Funny

    awww, lynx doesn't pass the test :(

  31. Why is it so hard to follow standards? by Mo+B.+Dick · · Score: 2, Interesting

    I'm not a programmer by any means, and I hardly know anything about html, which is why i'm asking this question I guess. Why is it so hard to make a browser that is compliant to standards? And is there an advantage to making a browser that doesn't comply? I've always wondered this.

    1. Re:Why is it so hard to follow standards? by Curien · · Score: 2, Informative

      It depends on the standard. I'm not an expert at CSS, but from what I understand it's particularly difficult to implement because it specifies not just what the UA should do for valid CSS but also exactly how it should handle certain classes of invalid CSS as well. So even if your browser were able to correctly render every correct web site, it would still fail the ACID2 test if it didn't handle certain /incorrect/ sites "correctly" as well.

      The HTML spec is a different beast, though. It pretty much has the opposite problem: It doesn't specify /anything/ about behavior on failure. As a result, every browser does something slightly different when it encounters a web site that breaks the rules. And the problem is that so many sites do in fact break the rules. Not only that, but quite a few sites rely on a browser rendering certain rule-breakings a certain way! So, for example with IE, MSFT has a huge incentive not just to make the browser more compliant but also to make sure that it is behavior-compatible (sometimes even bug-compatible) with previous versions of IE. And THAT is a tall order!

      --
      It's always a long day... 86400 doesn't fit into a short.
    2. Re:Why is it so hard to follow standards? by meringuoid · · Score: 2, Insightful
      And is there an advantage to making a browser that doesn't comply?

      Well, there is one possible advantage. Forcing out competition. Suppose there are a number of browsers out there, all complying with an open set of standards. You release your broken browser, which behaves rather oddly and renders things differently. Crucially, however, you bundle it along with another product of yours which already has near 100% marketshare. As a result, your broken browser immediately becomes a major player by default.

      What happens then? Everyone's forced to modify their websites to work with your broken browser - and as a result, to work rather oddly, and in some cases not at all, with the standards-compliant browsers. You thereby muscle out the competition and extend your existing monopoly into a new market.

      Of course, no company would ever behave so grossly unethically. And if they did, there's no way the government would let them get away with it; the anti-trust lawsuit would surely rip them to shreds. So it's a purely academic concern.

      --
      Real Daleks don't climb stairs - they level the building.
  32. Re:And, on cue... by jrockway · · Score: 2, Interesting

    ACID2 has nothing to do with w3c standards. ACID2 is a test of "proper behavior" when the CSS is completely invalid. It's "important" since most web lackeys can't write correct code... so browsers need a way to display improper code in a "proper" way -- that's what ACID2 is about.

    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."

    --
    My other car is first.
  33. Re:Hit the Nail on the Head by MooUK · · Score: 2, Insightful

    "If you write a letter in badly broken English, do you expect others to be able to read it and fully comprehend it?"

    A lot of people actually DO expect that.

  34. Re:Um, no. by jrockway · · Score: 2, Informative

    > It has absolutely nothing to do with testing broken css rendering at all.

    From the ACID2 site: "Note: some 827 people (rough estimate, contents may have settled during shipping) have written to point out that the CSS used in the test is invalid. This is deliberate, as a means of exposing the ability of user agents to handle invalid CSS properly."

    Sorry, handling broken CSS properly is not using the stylesheet. Anything else is gravy.

    Anyway, try the CSS validator yourself. ACID2 ain't valid CSS:

    http://jigsaw.w3.org/css-validator/validator?uri=h ttp%3A%2F%2Fwww.webstandards.org%2Fact%2Facid2%2Ft est.html%23top&usermedium=all

    --
    My other car is first.
  35. I saw IE7 fail this on the CeBit today by MikTheUser · · Score: 3, Informative

    I just came form the CeBit, where dozens of proud Microsoft representants were showing Windwows Vista, Office 2007 and of course the IE 7 ("We've got these 'tabs' now!" - yes, they said that).

    I convinced one of them to open the ACID2 test in the IE7 (Google was blocked and he told me to use MSN Search, but I fired up Seekport). It was the worst rendering of the ACID2 I've ever seen. The entire screen was red, except for a few lines and dots here and there, and scrollbar in the nothing way over to the right.

    Of course, the Microsoftie was quick to say, it's all only beta...

  36. Re:Ah opera... by TrekkieGod · · Score: 4, Informative
    I really d I really don't see how I can be considered part of the problem.

    Well, it's great that you do all that work to consider your visitors. What I was referring to was your comment that following standards isn't really that important, it's just a guideline. That train of thought is part of the problem.

    Think of a world where every browser renders everything in the standard correctly. Suddenly, your job is easier. In order to make sure that your web page renders correctly for the visitors using IE, Firefox, Safari, Opera, Konqueror, whatever, you don't need to actually test it with each one of those browsers. You just need to make sure your site follows the standards, and the rest "just works". If you skip out on things because "they're dumb," well, you may think you're right, but why do you expect browser developers to share your opinion?

    You'll see 12 ridiculous errors

    Depends on your definition of ridiculous. You wouldn't expect c code that doesn't have syntax exactly right to compile, so why do you expect html syntax that isn't exactly right to render correctly?

    from things like > characters whose position it disagrees with

    I didn't find that. I found error #3. It's not complaining about the position of the character, it's complaining that you placed that tag inside your unordered list, but not within a list item tag. I checked the source code and you have:

    <ul id="utabs">
    <a href="?page1"><<</a>

    If it's part of the unordered list, it should be inside a <li> tag. If you don't want for that to appear the same as the other list items, you should give it a class attribute and handle it in your css (there are other correct ways of handling it too, if you don't like that for some reason).

    That and a childish remark about my html tag which was funny for the 1.3 seconds I spent writing the top line...

    It wasn't your remark that it complained about. It complained about your type. That's not how you specify 4.01. From a W3C page, there's this example, using SGML to do what you want (for strict 4.01).:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>

    Heck...you should be fine just skipping that altogether. Close your html tag, and don't put the type thing.

    errors that don't tell me anything useful or constructive at all

    The validator doesn't tell you how to fix it, just that it found something wrong. However,

    a wikipedia url I pasted, which the validator decided to parse and rate

    For that error, the validator told you exactly what was wrong...in bold. "The most common cause of this error is unencoded ampersands in URLs". I've actually noticed that in other places in your html code for that page, stuff that I expected the validator to complain about, but it didn't.

    In html, if you want to have a "<" or ">" that is not part of a tag, you use a code. you type in "&lt;" for < and "&gt;" for >. If you want to type "&", you type "&amp;" Replace the & in that url, and it'll pass. You should replace the <'s I mentioned in error #3 with the correct codes too, even if the validator doesn't complain about it.

    I'm not trying to be a bastard about it. I hope my comments help you understand the validator better, and see that it's not so useless as you've come to believe. It's great that you've been putting effort to make sure your visitors get the best experience they can on your site, and I hope you'll keep doing so.

    --

    Warning: Opinions known to be heavily biased.

  37. ACID2 useless test now by miro+f · · Score: 2, Insightful

    Well done for Opera passing the ACID2 test, although it's no longer a useful test for browser standards adherance. The best test was how versions of each browser released BEFORE the ACID2 test rendered it, so this race for "ACID2 Adherence" is useless. Who passes first isn't important, as they're only fixing a tiny subset of the entire standard. It no longer shows who is more standards compliant.

    as an analogy, if you surveyed 100 employees of Google and found they were being paid less than 100 employees of Microsoft, and Google countered by giving those 100 employees a raise, it wouldn't change the original issue. The ACID2 test is simply a "survey" of web standards.

    --
    being vague is almost as cool as doing that other thing...
  38. Re:And, on cue... by Hakubi_Washu · · Score: 2, Informative

    Once we include the fact that the CSS standard explicitly includes specs for handling invalid CSS we're on to something... Yes the CSS is invalid, but the w3c states how to handle it in those cases, displaying anything else is not according to spec.

  39. It doesn't work for HTML by porneL · · Score: 2, Insightful
    1. Explorer is happy to render all crap thrown at it.
    2. Webmasters write crap, because it's compatible with crap-rendering browser.
    3. Other vendors not only have to implement HTML/CSS/JS, but also all bugs and quirks of Explorer's error (mis)handling to have crap-compiliant browser.
    4. No profit.
  40. Actually Firefox do care a lot about Acid2 by horacerumpole · · Score: 5, Informative
    Actually they care a lot about it - see Bug #289480

    It's just such a complex problem to tuckle that it seems to me (as a sideline spectactor) to be stupid to block the entire Firefox train just for it. They are working on it.

  41. Re:Hit the Nail on the Head by mstone · · Score: 2, Interesting

    Then why in hell do you expect it out of a rendering engine???

    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.

  42. Very close by Lobais · · Score: 2, Insightful

    Only a few parts are missing: https://bugzilla.mozilla.org/show_bug.cgi?id=acid2
    Firefox 2.0 should render it perfectly.

  43. Re:Overhyped test... by Rits · · Score: 2, Interesting

    On the contrary. In HTML, error handling is not defined at all. So different browsers do different things when you, say, forget to close your opened H1 elements or forget to put a TR element around you table cells. As such code will get written, and is put on the web when it looks OK in the current market leader, all other browsers have to reverse engineer the error handling in the dominant browsers of all possible errors.

    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).

    --
    If you don't like having choices made for you, you should start making your own. - Neal Stephenson