Jump to content

Acid2: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m I corrected the reference to Windows Internet Explorer 7.0 (which was listed as Microsoft Internet Explorer 7.0) to reflect Microsoft’s current name for the product.
Non-compliant applications: IE8 renders Acid2
Line 45: Line 45:


==Non-compliant applications==
==Non-compliant applications==
Although [[Internet Explorer]] has also been moving towards better [[Cascading Style Sheets|CSS]] compliance, [[Microsoft]] has publicly stated that Acid2 is not one of their primary focuses, and that [[Internet Explorer 7]] does not pass the test. Microsoft described Acid2 as a "wish list" of features rather than a true test of standards compliance.<ref>{{cite web| url=http://blogs.msdn.com/ie/archive/2005/07/29/445242.aspx| title=Standards and CSS in IE| publisher=IEBlog| accessdate=2006-05-16| first=Chris| last=Wilson| year=July 29, 2005}}</ref>
Although [[Internet Explorer]] has also been moving towards better [[Cascading Style Sheets|CSS]] compliance, [[Microsoft]] has publicly stated that Acid2 is not one of their primary focuses, and that [[Internet Explorer 7]] does not pass the test. Microsoft described Acid2 as a "wish list" of features rather than a true test of standards compliance.<ref>{{cite web| url=http://blogs.msdn.com/ie/archive/2005/07/29/445242.aspx| title=Standards and CSS in IE| publisher=IEBlog| accessdate=2006-05-16| first=Chris| last=Wilson| year=July 29, 2005}}</ref> Microsoft's IEBlog states that Internet Explorer 8 successfully renders the test.[http://blogs.msdn.com/ie/archive/2007/12/19/internet-explorer-8-and-acid2-a-milestone.aspx]


Browsers based on the current version of the [[Gecko (layout engine)|Gecko]] layout engine, such as [[Firefox]], [[Camino]], and [[SeaMonkey]], do not pass. However, Acid2 support is planned for Gecko 1.9, and so these browsers are expected to pass Acid2 once Gecko version 1.9 is finished. This includes Mozilla Firefox 3.0, which is currently in a beta release.
Browsers based on the current version of the [[Gecko (layout engine)|Gecko]] layout engine, such as [[Firefox]], [[Camino]], and [[SeaMonkey]], do not pass. However, Acid2 support is planned for Gecko 1.9, and so these browsers are expected to pass Acid2 once Gecko version 1.9 is finished. This includes Mozilla Firefox 3.0, which is currently in a beta release.

Revision as of 21:57, 19 December 2007

The reference image for Acid2. In the real test, the nose will light up blue when pointing over it with the cursor. [1]
Acid2 as rendered by Safari 2.0.3., Konqueror 3.5, Opera 9 and Mozilla Firefox 3.0b1.
Acid2 as rendered by Microsoft Internet Explorer 6.0.
Acid2 as rendered by Windows Internet Explorer 7.0.
Acid2 as rendered by Mozilla Firefox 1.5 and 2.0, Mozilla 1.7.13, and Netscape 9.
Acid2 as rendered by Netscape 7.2.

Acid2 is a test case designed by the Web Standards Project to identify web page rendering flaws in browsers and authoring tools. It is a modern take-off of the Box Acid Test, also known as Acid1, from 1997.[1]

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 browser which does not correctly and completely support all of the features which Acid2 uses will not render the page correctly. Because Acid2 tests how web browsers deal with faulty code, the test is intentionally not written to W3C CSS standard specifications. Thus it will fail W3C CSS validation. This is expected and was the intention of its designers.

The Web Standards Project has created a special version of Acid2 test,[2] because the data: URIs used in the original test have never been formally standardized.

Acid2 is not designed for browsers with very small screens, such as those for mobile phones or PDAs.[3]

Compliant applications

If rendered correctly, Acid2 will appear as a smiley face below the text "Hello World!" in the user's browser, with the nose turning blue when the mouse cursor hovers over it. At the time of the test's release, no browsers could render Acid2 correctly, but now a number of applications pass the test by rendering it correctly:

Non-compliant applications

Although Internet Explorer has also been moving towards better CSS compliance, Microsoft has publicly stated that Acid2 is not one of their primary focuses, and that Internet Explorer 7 does not pass the test. Microsoft described Acid2 as a "wish list" of features rather than a true test of standards compliance.[5] Microsoft's IEBlog states that Internet Explorer 8 successfully renders the test.[2]

Browsers based on the current version of the Gecko layout engine, such as Firefox, Camino, and SeaMonkey, do not pass. However, Acid2 support is planned for Gecko 1.9, and so these browsers are expected to pass Acid2 once Gecko version 1.9 is finished. This includes Mozilla Firefox 3.0, which is currently in a beta release.

The PlayStation 3 web browser, based on NetFront, also fails the test.

Passing conditions

A passing score is only considered valid if the browser's default settings were used. 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.[6]

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

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 colors, fonts etc.
  • User style sheets, Opera's user mode for styling.
  • User JS.

Timeline of successful browsers

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

Date Browser Type Notes
April 27, 2005 Safari non-public build[8]
May 18, 2005 iCab non-public build
May 20, 2005 iCab build public to members only
June 4, 2005 Konqueror non-public build[9]
June 6, 2005 iCab public build Although the Web Standards Project web site states that this version of iCab passes Acid2, it technically falls short by displaying a scrollbar on the viewport. A correctly rendered test should not have a scrollbar.[10]
October 31, 2005 Safari 2.02 official release Included in Mac OS X 10.4.3. Browser crashed without any error message upon attempting to render the page.
November 29, 2005 Konqueror official release[11] Available with KDE 3.5. First Linux-compatible browser to pass the test, except for hiding the scrollbar.
December 7, 2005 Prince 5.1 official release[12] First non-web browser to pass test
March 10, 2006 Opera public weekly build[13] First Windows-compatible browser to pass the test and also the first Linux-compatible browser to fully pass the test. A public beta was released on April 20, also successful.
March 14, 2006 Shiira official release
March 24, 2006 iCab 3.0.2b400 build public to members only Adds a switch to hide the scrollbars
March 28, 2006 Konqueror 3.5.2 official release[14] Although previous releases passed, their compliance was questionable. This version did not wrongly show scrollbars.
April 12, 2006 Firefox semi-public build[15] The "reflow branch" nightly builds, whose code was branched from the Gecko 1.9/Firefox 3.0 trunk and was merged back into the trunk on December 8, 2006.
May 24, 2006 Opera Mobile non-public build[16] First mobile browser to pass test
June 20, 2006 Opera 9.0 official release[17]
June 30, 2006 Obigo Browser non-public build[18] Second mobile browser to pass test
August 17, 2006 iCab 3.0.3 official release First public release that hides the scrollbars
September 7, 2006 Tkhtml Html Viewer 3 Alpha 10 public build Alpha release
December 8, 2006 Firefox, Camino, SeaMonkey public nightly build[19] Firefox 3 reflow-refactoring branch lands on main Gecko trunk. Firefox/Camino/SeaMonkey trunk builds now pass Acid2, barring other regressions.
December 18, 2007 Internet Explorer 8.0 non-public build[20] First build of Internet Explorer to render Acid2 correctly

See also

References

  1. ^ "CSS1 Test Suite: 5.5.26 clear". Retrieved 2006-05-16.
  2. ^ "Molly Says: March 3rd, 2006 at 2:24 am". Microsoft IE7 Progress: Sneak Preview of MIX06 Release. Molly.com. 1 March 2006. Retrieved 2006-05-16.{{cite web}}: CS1 maint: year (link)
  3. ^ Willison, Simon (2006-05-11). "Opera Mini 2.0". Simon Willison’s Weblog. Retrieved 2007-11-10.
  4. ^ "Microsoft's Channel9 interview with the IE8 team". Microsoft. 2007-12-19.
  5. ^ Wilson, Chris (July 29, 2005). "Standards and CSS in IE". IEBlog. Retrieved 2006-05-16.{{cite web}}: CS1 maint: year (link)
  6. ^ Altman, Tim (2006-07-19). "Tim's Opera Bits v1.1". Tim's blog. Retrieved 2007-11-15.
  7. ^ "Acid2 and Opera 9 Clarifications: Yes, Opera 9 Passes the Test". Retrieved 2006-07-22.
  8. ^ "Safari Passes the Acid2 Test (Updated)". Retrieved 2006-06-14.
  9. ^ carewolf (06/04/2005). "Konqueror now passes Acid2". Retrieved 2006-05-16. {{cite web}}: Check date values in: |year= (help)CS1 maint: year (link)
  10. ^ "Overflow: the 'Overflow' Property". W3C CSS working draft. World Wide Web Consortium. Retrieved 2006-05-15.
  11. ^ "K Desktop Environment 3.5 Released". November 29, 2005. Retrieved 2006-05-16.{{cite web}}: CS1 maint: year (link)
  12. ^ "The Acid2 Test". Retrieved 2006-05-16.
  13. ^ "Acid2 - Rows 4 and 5 AKA Opera passes the Acid2 test!". Tim's blog. 2006-03-10. Retrieved 2006-05-16.
  14. ^ "KDE 3.5.2 Release Announcement". March 28, 2006. Retrieved 2006-05-16.{{cite web}}: CS1 maint: year (link)
  15. ^ Braniecki, Zbigniew (2006-04-12). "Meet Mr. Face". Stream of Thoughts. Retrieved 2006-05-16.{{cite web}}: CS1 maint: year (link)
  16. ^ "Opera for Symbian passes Acid2". Retrieved 2006-05-24.
  17. ^ "Welcome to Opera 9.0". Retrieved 2006-06-20.
  18. ^ "Obigo Browser". Retrieved 2006-06-30.
  19. ^ "Mozilla Bug 289480". Retrieved 2006-12-08.
  20. ^ "IEBlog: Internet Explorer 8 and Acid2: A Milestone". Retrieved 2007-12-19.