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

23 of 418 comments (clear)

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

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

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

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

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

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

  9. 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.
  10. See how your browser fares... by fugas · · Score: 5, Informative

    Take the ACID2 test...

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

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

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

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

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

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

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

    awww, lynx doesn't pass the test :(

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