Acid2: Difference between revisions
not according to the test's authors: http://people.opera.com/howcome/2007/msft/acid2.html |
Håkon Wium Lie is not a member of WaSP: http://www.webstandards.org/about/members/ |
||
Line 71: | Line 71: | ||
** [[Mozilla Prism]], a web application platform for Windows, Mac OS X and Linux |
** [[Mozilla Prism]], a web application platform for Windows, Mac OS X and Linux |
||
* [[Tkhtml|Tkhtml Html Viewer 3]], a web browser for Windows and Linux |
* [[Tkhtml|Tkhtml Html Viewer 3]], a web browser for Windows and Linux |
||
* [[Internet Explorer 8]], with slight modification of the test to activate a new "IE8 standards" mode. |
|||
==Non-compliant applications== |
==Non-compliant applications== |
Revision as of 21:12, 31 December 2007
Acid2 is a test case designed by the Web Standards Project to identify web page rendering flaws in browsers and authoring tools. Acid2 was released on April 12, 2005.[1] It is a modern take-off of the Box Acid Test, also known as Acid1, from 1997.[2] On April 23, 2005, Acid2 was updated to fix a bug.[3]
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, and fails validation.[4] This is expected and was the intention of its designers.[5]
Safari was the first web browser to pass the test, with the passing version 2.02 released on October 31, 2005.
Overview of standards tested
Acid2 tests the following web standards:[6]
- Alpha transparency on PNG images – the eyes are transparent PNGs
- The object element
- Absolute, relative and fixed positioning using CSS
- The CSS box model
- CSS tables
- CSS margins
- CSS generated content
- CSS parsing – Acid2 includes a number of illegal CSS statements to test error handling
- Paint order
- CSS line heights
- Hovering effects
Because Acid2 is not a comprehensive test, it does not guarantee total conformance with any particular standard.[6]
The Web Standards Project has created a special version of Acid2 test,[7] because the data: URIs used in the original test have never been formally standardized.
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:
Officially released
- WebCore-based applications
- Konqueror, a web browser for KDE
- Prince, an XML-to-PDF converter for Windows and Linux
- Presto-based browsers
- Opera, a web browser for Windows, Mac OS X, Linux, and BSD
- Internet Channel, a version of the Opera browser for the Nintendo Wii game console.
- iCab, a web browser for Mac OS and Mac OS X
In development
- Gecko 1.9 based applications
- Mozilla Firefox 3, a web browser for Windows, Mac OS X, and Linux
- Mozilla Prism, a web application platform for Windows, Mac OS X and Linux
- Tkhtml Html Viewer 3, a web browser for Windows and Linux
- Internet Explorer 8, with slight modification of the test to activate a new "IE8 standards" mode.
Non-compliant applications
Although Internet Explorer has also been moving towards better CSS compliance, the current version of Internet Explorer, Internet Explorer 7, does not pass the test. Chris Wilson, the Internet Explorer Platform Architect, described Acid2 as a "wish list" of features rather than a true test of standards compliance.[8] Nonetheless, Internet Explorer 8 will include a new rendering mode known as "IE8 standards mode".[9] IE8 standards mode is not enabled by default, but can be triggered by inserting a special flag into a web page.[9] In IE8 standards mode, IE8 passes the Acid2 test,[10] but since IE8 standards mode is not enabled by default,[11] IE8 cannot be considered to truly pass the test.[12][13]
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, and Mozilla Firefox 3 beta 2 release passes Acid2 test successfully.
The PlayStation 3 web browser, based on NetFront, also fails the test.
-
Acid2 as rendered by Internet Explorer 6.0
-
Acid2 as rendered by Internet Explorer 7.0
-
Acid2 as rendered by Mozilla Firefox 1.5, and 2.0, , and Netscape 9
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.[14]
Ian Hickson, the author of the test, has provided WaSP with clarifications about the Acid2 test and how things should behave.[15]
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 JavaScripts.
Timeline of successful browsers
The Acid2 test was officially released on April 13, 2005. On April 23, 2005 a bug in the test was discovered, after which the test received an update. 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[16] | |
May 18, 2005 | iCab | non-public build | |
June 4, 2005 | Konqueror | non-public build[17] | |
June 6, 2005 | iCab | public build | This version of iCab displays a scrollbar on the viewport. Although some states that a correctly rendered test should not have a scrollbar,[18] that feature is not part of the test, and merely a way to prevent the user from scrolling. |
June 7, 2005 | WebKit | public build | The underpinnings of Safari were first made available as open source on June 7, 2005. A script was provided to run Safari against the updated WebKit, allowing it to pass the Acid2 test. |
October 31, 2005 | Safari 2.02 | official release | Included in Mac OS X 10.4.3. First official browser to pass test. |
November 29, 2005 | Konqueror | official release[19] | 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[20] | First non-web browser to pass test |
March 10, 2006 | Opera | public weekly build[21] | 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 28, 2006 | Konqueror 3.5.2 | official release[22] | Although previous releases passed, their compliance was questioned. This version did not show scrollbars. |
April 12, 2006 | Firefox | semi-public build[23] | 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[24] | First mobile browser to pass test |
June 20, 2006 | Opera 9.0 | official release[25] | |
June 30, 2006 | Obigo Browser | non-public build[26] | Second mobile browser to pass test |
August 17, 2006 | iCab 3.0.3 | official release | First public release that hides the scrollbars |
September 6, 2006 | OmniWeb 5.5 | official release | |
September 7, 2006 | Tkhtml Html Viewer 3 Alpha 10 | public build | Alpha release |
December 8, 2006 | Mozilla Firefox, Camino, SeaMonkey | public nightly build[27] | Firefox 3 reflow-refactoring branch lands on main Gecko trunk. Firefox/Camino/SeaMonkey trunk builds now pass Acid2, barring other regressions. |
April 11, 2007 | Internet Channel | official release | |
October 24, 2007 | Prism 0.8 | prototype[28] | |
December 19, 2007 | Internet Explorer 8 | non-public build[29] | Requires the test to be rendered in "IE8 Standards mode", which is not enabled by default and can be activated wy the author of the web page. Technically this does not pass the test. |
Acid3
An Acid3 test has been in development since April 2007[30], also by Ian Hickson. Unlike Acid2, the third Acid test focuses primarily on the DOM and JavaScript, including only elements from specifications as of 2004 [31].
While the test is still under development, it is publicly accessible in its current form [32], together with a reference rendering[33]. When successful, the page will display a gradually increasing percentage counter with colored rectangles in the background. The percentage displayed is based on the amount of sub-tests passed.
An official release date for the Acid3 test has yet to be determined.
See also
References
- ^ Hyatt, Dave (2005-04-12). "The Acid2 Test". Surfin' Safari. Retrieved 2007-12-24.
{{cite web}}
: Unknown parameter|publsher=
ignored (|publisher=
suggested) (help) - ^ "CSS1 Test Suite: 5.5.26 clear". Retrieved 2006-05-16.
- ^ Hyatt, Dave (2005-04-23). "Acid2: Version 1.1 Posted". Surfin' Safari. Retrieved 2007-12-24.
{{cite web}}
: Unknown parameter|publsher=
ignored (|publisher=
suggested) (help) - ^ "W3C CSS Validator output". Retrieved 2007-12-20.
- ^ "Acid2 website". Retrieved 2007-12-20.
- ^ a b "Acid2: The Guided Tour". The Web Standards Project. Retrieved 2007-12-24.
- ^ "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) - ^ Wilson, Chris (July 29, 2005). "Standards and CSS in IE". IEBlog. Retrieved 2006-05-16.
{{cite web}}
: CS1 maint: year (link) - ^ a b Vasudev (2007-12-20). "Internet Explorer 8 Q&A". meraTechPort. Retrieved 2007-12-28.
- ^ "Internet Explorer 8 and Acid2: A Milestone". IEBlog. Retrieved 2007-12-19.
- ^ Wilson, Chris (2007). "IE7 Past, Present, and Future". Microsoft. Retrieved 2007-12-28. 37 minutes and 40 seconds through the presentation, Chris Wilson states "The adoption of any such opt-in switch today is zero."
- ^ Lie, Håkon Wium (2007-12-20). "Acid2 in IE8!". Retrieved 2007-12-24.
- ^ Wilton-Jones, Mark "Tarquin". "Acid 2 in major browsers". Retrieved 2007-12-28.
- ^ Altman, Tim (2006-07-19). "Tim's Opera Bits v1.1". Tim's blog. Retrieved 2007-11-15.
- ^ "Acid2 and Opera 9 Clarifications: Yes, Opera 9 Passes the Test". Retrieved 2006-07-22.
- ^ "Safari Passes the Acid2 Test (Updated)". Retrieved 2006-06-14.
- ^ carewolf (06/04/2005). "Konqueror now passes Acid2". Retrieved 2006-05-16.
{{cite web}}
: Check date values in:|year=
(help)CS1 maint: year (link) - ^ "Overflow: the 'Overflow' Property". W3C CSS working draft. World Wide Web Consortium. Retrieved 2006-05-15.
- ^ "K Desktop Environment 3.5 Released". November 29, 2005. Retrieved 2006-05-16.
{{cite web}}
: CS1 maint: year (link) - ^ "The Acid2 Test". Retrieved 2006-05-16.
- ^ "Acid2 - Rows 4 and 5 AKA Opera passes the Acid2 test!". Tim's blog. 2006-03-10. Retrieved 2006-05-16.
- ^ "KDE 3.5.2 Release Announcement". March 28, 2006. Retrieved 2006-05-16.
{{cite web}}
: CS1 maint: year (link) - ^ Braniecki, Zbigniew (2006-04-12). "Meet Mr. Face". Stream of Thoughts. Retrieved 2006-05-16.
{{cite web}}
: CS1 maint: year (link) - ^ "Opera for Symbian passes Acid2". Retrieved 2006-05-24.
- ^ "Welcome to Opera 9.0". Retrieved 2006-06-20.
- ^ "Obigo Browser". Retrieved 2006-06-30.
- ^ "Mozilla Bug 289480". Retrieved 2006-12-08.
- ^ "Mozilla Labs blog". Retrieved 2007-10-24.
- ^ "Internet explorer blog". Retrieved 2007-31-24.
{{cite web}}
: Check date values in:|accessdate=
(help) - ^ "HTML5 IRC logs: freenode / #whatwg / 20070422". Retrieved 2007-12-28.
- ^ "HTML5 IRC logs: freenode / #whatwg / 20071228". Retrieved 2007-12-28.
- ^ "Acid3 disclaimer page". Retrieved 2007-12-28.
- ^ "The Acid3 Test". Retrieved 2007-12-28.
External links
- Acid2 test
- Acid2 press release
- Acid2 test collection (wiki)
- Article in CNET that proposed the Acid2 test
- Safari first gold browser to pass Acid2
- Mozilla Foundation's Acid2 tracking bug
- Acid2 in major browsers - Shows Acid2 rendered in Safari, Prince, Opera, iCab, Konqueror, Netscape/Mozilla/Firefox, and Internet Explorer, showing their progressive improvements
- Complete overview of Opera's Acid2 fixes
- Press release from YesLogic: Prince 5.1 passes rigorous Acid2 test
- Acid2 - the truth about Safari, iCab and Konqueror
- The Box Acid Test (Acid1)