Navigation
  • Home
  • Recent
  • Most Active
  • Popular
  • Blog
  • Credits
  • RSS
  •   Interaction
  • Register
  • Statistics
  •   Help
  • Suggestions
  • Contact Us
  • How to Edit
  • Help



  • [Edit]













    Acid2 is a test case designed by the Web Standards Project to identify web page rendering flaws in browsers and authoring tools. It is an updated edition of the original Acid test of 1997.

    Acid2 employs certain features of HTML and, more prominently, CSS. The purpose of employing such features is to highlight the problems with browsers that do not display it correctly. The Acid2 test should render correctly on any browser that follows the W3C HTML and CSS 2.0 specifications. Any browsers which do not correctly and completely support all of the features which Acid2 takes advantage of will not render the page correctly.

    The Web Standards Project has created a special version of Acid2 test, because Data URLs used in the original test were never formally standardized.


        Acid2
            Compliant browsers
            Non-compliant browsers
            Passing conditions
            Timeline of successful browsers
            Trivia
            See also

    top

    Compliant browsers
    If rendered correctly, Acid2 will appear as a smiley face in the user's browser, with the nose turning blue when moused over. At the time of the test's release, no browsers could render Acid2 correctly but now at least five released applications pass the test by rendering it correctly:


    Although the Web Standards Project web site states that iCab passes Acid2, it technically falls short by displaying a scrollbar on the viewport. (A correctly rendered test should not have a scrollbar.) Konqueror originally had the same problem when it first was stated to have passed the test, but this issue was corrected with release 3.5.2.

    top

    Non-compliant browsers
    Although Internet Explorer has also been moving towards better CSS compliance, its author, Microsoft, has publicly stated that Acid2 is not one of their primary focuses, and that Internet Explorer 7 does not pass the test.

    The programmers of the Mozilla family of browsers (including Mozilla Suite, Firefox, Seamonkey, Camino Mac OS X, and Netscape 6+) have been making gradual efforts to have their browsers pass the Acid2 test, but it is unclear when this will take place. The delay is due to fundamental architecture work that has to be done to the Gecko rendering engine to support the changes that Acid2 requires. It's unlikely that an end-user release that supports Acid2 will appear before 2007.

    A Firefox 3.0 (Minefield) branch does exist that passes the Acid2 test*. It will be merged into Firefox 3 proper.

    top

    Passing conditions
    The test has been designed so that it is only valid with browser's default settings. Changing font sizes, zoom level, applying user stylesheets etc can break the display of the test. This is expected and is not relevant to a browser's compliance.

    Ian Hickson, the author of the test, has provided WaSP with clarifications about the Acid2 test and how things should behave.

    The following browser settings and user actions may affect the rendering of Acid2 page without bearing on the browser's compliance:
      Scrolling. A part of the face remains fixed when you scroll.
      Zooming to any level other than 100% (default).
      Disabling images.
      Opera's Fit to width and SSR (Small Screen Rendering) modes. These are off by default, and the test is not valid when they are enabled.
      User colours, fonts etc.
      User stylesheets, Opera's user mode for styling.
      User JS.

    Also, the public release of Opera has some bugs revealed by testing Acid2 under non-standard conditions:
      Disabling and re-enabling images breaks the display (it doesn't return to the initial state).
      Zooming the page reveals a pattern of orange dots. This is a bug in the image scaling algorithm.
      Zooming the page makes the nose jagged. It should remain smooth.

    However, these bugs don't mean that Opera doesn't pass Acid2 because they require testing under non-standard conditions, which makes the test invalid.

    top

    Timeline of successful browsers
    The Acid2 test was officially announced on April 13, 2005. The following is a list of releases noting significant builds of applications that passed the test.



    top

    Trivia
      Beta versions of Opera 9 included an easter egg that, when triggered*, affects the Acid2 test. After the page has been open for a while, the eyes of the smiley will follow the cursor around and when the user clicks on the eyes, a message will show up saying "Because just passing is not enough
      )" screencapture 1 screencapture 2.

      Since Acid 2 also tests how web browsers deal with faulty code, it will fail W3C validation. This is expected and purposefully intended by its designers.

    The web site creator RapidWeaver, availiable only for the mac, also passes the Acid2 test. This can the checked by simply dragging the url of the acid 2 test into the preview pane of rapidweaver.
    Because of the fact that it is built using WebKit, apple's web browser the RapidWeaver preview window displays just as well as safari.

    top

    See also
     
    Search more:
     

       
    Source Privacy License Download Contact Us Atlas
    Scientus.org Dictionary (Yet Another Wiki) RC : 1.39
    MIT OpenCourseWare
    This article is licensed under the GNU Free Documentation License [copyleft]. It uses material from the Wikipedia article "Acid2". link