Acid2
{{Short description|Online HTML rendering test}}
{{Use dmy dates|date=December 2022}}
{{Infobox website
| name = Acid2
| logo =
| screenshot = Acid2.svg
| caption = This is the reference image for Acid2. In the real test, the nose becomes blue while the cursor is hovering over the yellow part of the face.
| url = [https://webstandards.org/files/acid2/test.html https://webstandards.org/files/acid2/test.html]
| commercial = No
| type = Web standards test
| language = English
| registration = No
| owner = The Web Standards Project
| author = Ian Hickson
| launched = 13 April 2005
| current_status = Online
| revenge =
}}
Acid2 is a webpage that tests web browsers' functionality in displaying aspects of HTML markup, CSS 2.1 styling, PNG images, and data URIs. The test page was released on 13 April 2005 by the Web Standards Project. The Acid2 test page will be displayed correctly in any application that follows the World Wide Web Consortium and Internet Engineering Task Force specifications for these technologies. These specifications are known as web standards because they describe how technologies used on the web are expected to function.
Acid2 tests rendering flaws in web browsers and other applications that render HTML. Named after the acid test for gold, it was developed in the spirit of Acid1, a relatively narrow test of compliance with the Cascading Style Sheets 1.0 (CSS1) standard. As with Acid1, an application passes the test if the way it displays the test page matches a reference image.
Acid2 was designed with Microsoft Internet Explorer particularly in mind. The creators of Acid2 were dismayed that Internet Explorer did not follow web standards. It was prone to display web pages differently from other browsers, causing web developers to spend time tweaking their web pages. Acid2 challenged Microsoft to make Internet Explorer comply with web standards. On 31 October 2005, Safari 2.0.2 became the first browser to pass Acid2. Opera, Konqueror, Firefox, and others followed. With the release of Internet Explorer 8 on 19 March 2009, the latest versions of all major desktop web browsers now pass the test. Acid2 was followed by Acid3.
History
File:Original Acid2 smiley.png face of the first version of Acid2. Due to problems in this version of the test, the nose is too close to the mouth and the text "ERROR" appears even in a standards-compliant browser.]]
Acid2 was first proposed by Håkon Wium Lie, chief technical officer of Opera Software and creator of the widely used Cascading Style Sheets web standard.{{cite web
|url = http://people.opera.com/howcome/
|title = Håkon
|first = Håkon Wium
|last = Lie
|author-link = Håkon Wium Lie
|publisher = Opera Software
|date = 12 May 2008
|access-date = 27 July 2008
|url-status = dead
|archive-url = https://web.archive.org/web/20080906003804/http://people.opera.com/howcome/
|archive-date = 6 September 2008
}} In a 16 March 2005 article on CNET, Lie expressed dismay that Microsoft Internet Explorer did not properly support web standards and hence was not completely interoperable with other browsers. He announced that Acid2 would be a challenge to Microsoft to design Internet Explorer 7, then in development, to achieve a greater degree of standards compliance than previous versions of Internet Explorer. The original Acid1 test had forced browser makers to fix their applications or face embarrassment; Lie hoped that Acid2 would do the same.{{cite web
|url=http://news.cnet.com/The-Acid2-challenge-to-Microsoft/2010-1032_3-5618723.html
|title=The Acid2 challenge to Microsoft
|first=Håkon Wium
|last=Lie
|author-link=Håkon Wium Lie
|publisher=CNET
|date=16 March 2005
|access-date=12 January 2008
|url-status=dead
|archive-url=https://web.archive.org/web/20110616125128/http://news.cnet.com/The-Acid2-challenge-to-Microsoft/2010-1032_3-5618723.html
|archive-date=16 June 2011
}}
Lie and a colleague, Ian Hickson, created the first draft of the test in February 2005.{{cite web
|url=http://ln.hixie.ch/?start=1137799947&count=1
|title=People who don't realise that they're wrong
|last=Hickson
|first=Ian
|author-link=Ian Hickson
|work=Hixie's Natural Log
|date=20 January 2006
|access-date=1 April 2008
| archive-url= https://web.archive.org/web/20080502004836/http://ln.hixie.ch/?start=1137799947&count=1| archive-date= 2 May 2008 | url-status= live}} Ian Hickson coded the final test in collaboration with the Web Standards Project and the larger web community.{{cite web
|url=http://www.webstandards.org/about/members/hixie/
|title=Ian Hickson
|publisher=The Web Standards Project
|access-date=25 March 2008
|url=http://www.webstandards.org/about/members/bhenick/
|title=Ben Henick
|publisher=The Web Standards Project
|access-date=2 April 2008
| archive-url= https://web.archive.org/web/20080401031826/http://www.webstandards.org/about/members/bhenick/| archive-date= 1 April 2008 | url-status= live}}{{cite web
|url=http://www.webstandards.org/about/members/dbaron/
|title=David Baron
|publisher=The Web Standards Project
|access-date=2 April 2008
}} It was officially released on 13 April 2005{{cite press release
|url=http://www.webstandards.org/press/releases/2005-04-13/
|title=Acid2: Putting Browser Makers on Notice
|publisher=The Web Standards Project
|date=13 April 2005
|access-date=1 April 2008
}} and at that time, every web browser failed it spectacularly.{{cite web
|url=http://weblogs.mozillazine.org/hyatt/archives/2005_04.html#007932
|title=The Acid2 Test
|last=Hyatt
|first=Dave
|author-link=Dave Hyatt
|work=Surfin' Safari
|publisher=MozillaZine
|date=12 April 2005
|access-date=1 April 2008
| archive-url= https://web.archive.org/web/20080331225905/http://weblogs.mozillazine.org/hyatt/archives/2005_04.html| archive-date= 31 March 2008 | url-status= live}}
On 23 April 2005, Acid2 was updated to fix a bug that made the mouth appear too close to the nose.{{cite web
|url=http://weblogs.mozillazine.org/hyatt/archives/2005_04.html#008011
|title=Acid2: Version 1.1 Posted
|work=Surfin' Safari
|last=Hyatt
|first=Dave
|author-link=Dave Hyatt
|publisher=MozillaZine
|date=23 April 2005
|access-date=24 December 2007
| archive-url= https://web.archive.org/web/20071223171928/http://weblogs.mozillazine.org/hyatt/archives/2005_04.html#008011| archive-date= 23 December 2007 | url-status= live}}{{cite web
|url=http://weblogs.mozillazine.org/hyatt/archives/2005_04.html#007977
|title=Acid2: Lopping Off the Sideburns
|work=Surfin' Safari
|last=Hyatt
|first=Dave
|author-link=Dave Hyatt
|publisher=MozillaZine
|date=20 April 2005
|access-date=14 May 2008
| archive-url= https://web.archive.org/web/20080514173606/http://weblogs.mozillazine.org/hyatt/archives/2005_04.html| archive-date= 14 May 2008 | url-status= live}} After several complaints, the test was again updated in January 2006 to remove a test for unpopular SGML-style comments that were never widely implemented. In browsers that do not implement SGML-style comments, the original test displayed the word "ERROR" on the bottom part of the face.
In March 2008, Ian Hickson released Acid3 as a follow-up to Acid2. While Acid2 primarily tests CSS, Acid3 focuses more on JavaScript and other "Web 2.0" technologies.{{cite web
|url=http://www.webstandards.org/action/acid3/
|title=Acid3 Browser Test
|publisher=The Web Standards Project
|access-date=15 August 2008
| archive-url= https://web.archive.org/web/20080815190023/http://www.webstandards.org/action/acid3/| archive-date= 15 August 2008 | url-status= live}}
Microsoft's response
In July 2005, Chris Wilson, the Internet Explorer Platform Architect, stated that passing Acid2 was not a priority for Internet Explorer 7, describing the test as a "wish list" of features rather than a true test of standards compliance.{{cite web
|url=http://blogs.msdn.com/ie/archive/2005/07/29/445242.aspx
|title=Standards and CSS in IE
|last=Wilson
|first=Chris
|work=IEBlog
|publisher=Microsoft
|date=29 July 2005
|access-date=11 March 2008
| archive-url= https://web.archive.org/web/20080315212733/http://blogs.msdn.com/ie/archive/2005/07/29/445242.aspx| archive-date= 15 March 2008 | url-status= live}} In December 2007, Microsoft announced that all the changes required to pass Acid2 would be made available in Internet Explorer 8, but that the changes would not be turned on by default, meaning that IE8 would not actually pass the test.{{cite web
|url=http://channel9.msdn.com/blogs/charles/ie-8-on-the-path-to-web-standards-compliance-acid-2-test-pass-complete
|title=IE 8: On the Path to Web Standards Compliance – ACID 2 Test Pass Complete
|author=Charles
|publisher=Microsoft
|work=Microsoft Developer Network
|date=19 December 2007
|access-date=30 August 2008
|quote=About 19 minutes and 15 seconds through the video, Alex Mogilevsky, a member of the IE team, points at a picture of the Acid2 test improperly rendered and states "The video in the bottom is an IE7 version of smiley face...What you're looking at is actually IE8. It is what it looks currently in IE8 and it will look exactly like this when we ship IE8 because we are not breaking any compatibility, and this is a compatible mode of IE8. And, uh, most of the web relies on particular behavior including particular incorrect behavior, so the incorrect behavior will still be there unless the new content wants IE to be in standards-compliant mode, and then they will ask us, and then we will show perfectly standard picture."}}{{cite web
|url = http://people.opera.com/howcome/2007/msft/acid2.html
|title = Acid2 in IE8!
|first = Håkon Wium
|last = Lie
|author-link = Håkon Wium Lie
|publisher = Opera Software
|date = 20 December 2007
|access-date = 30 August 2008
|url-status = dead
|archive-url = https://web.archive.org/web/20110517233659/http://people.opera.com/howcome/2007/msft/acid2.html
|archive-date = 17 May 2011
}} The concern was that switching to a new behavior would cause too many problems in web pages expecting Internet Explorer's old, non-compliant behavior. Then in March 2008 Microsoft released IE8 beta 1 and turned on the changes by default after all.{{cite web
|url=http://blogs.msdn.com/ie/archive/2008/03/03/microsoft-s-interoperability-principles-and-ie8.aspx
|title=Microsoft's Interoperability Principles and IE8
|last=Hachamovitch
|first=Dean
|work=IEBlog
|publisher=Microsoft
|date=3 March 2008
|access-date=30 August 2008
|archive-url= https://web.archive.org/web/20080830002633/http://blogs.msdn.com/ie/archive/2008/03/03/microsoft-s-interoperability-principles-and-ie8.aspx |archive-date= 30 August 2008}} James Pratt, product manager for IE8, explained that this decision was made so that "developers can spend more time building features and cool stuff, and less time just trying to tweak their sites across different browsers."{{cite web
|url=https://technet.microsoft.com/en-us/edge/IE8-Beta-2-screencast-demo-and-Interview.aspx
|title=IE8 Beta 2 screencast demo and interview
|last=Tesar
|first=David
|publisher=Microsoft
|date=27 August 2008
|access-date=14 December 2008
|url-status=dead
|archive-url=https://web.archive.org/web/20101005055557/http://technet.microsoft.com/en-us/edge/IE8-Beta-2-screencast-demo-and-Interview.aspx
|archive-date=5 October 2010
}}
Another unresolved standards compliance issue caused IE8 beta 1 to fail if not all elements of the test were hosted from the same server.{{cite web
|url=http://blogs.msdn.com/ie/archive/2008/03/05/why-isn-t-ie8-passing-acid2.aspx
|title=Why Isn't IE8 Passing Acid2?
|publisher=Microsoft
|first=Phil
|last=Nachreiner
|date=5 March 2008
|access-date=11 March 2008
| archive-url= https://web.archive.org/web/20080309182614/http://blogs.msdn.com/ie/archive/2008/03/05/why-isn-t-ie8-passing-acid2.aspx| archive-date= 9 March 2008 | url-status= live}}{{cite web
|url=http://lists.w3.org/Archives/Public/www-archive/2008Mar/0018.html
|title=Re: MSIE 8 beta 1 clarification needed
|last=Hickson
|first=Ian
|author-link=Ian Hickson
|publisher=World Wide Web Consortium
|date=14 March 2008
|access-date=5 May 2008
}} In August 2008 Microsoft released IE8 beta 2, which resolved the issue.{{cite web
|url=http://www.fcenter.ru/online.shtml?articles/software/utilities/24947
|title=Internet Explorer 8 Beta 2: проверяем работоспособность
|last=Перевертайлов
|first=Алексей
|language=ru
|date=7 September 2008
|access-date=15 October 2008
|archive-url=https://web.archive.org/web/20081016065747/http://www.fcenter.ru/online.shtml?articles%2Fsoftware%2Futilities%2F24947
|archive-date=16 October 2008
|url-status=live
}} As of that beta, however, standards mode is not turned on by default for pages loaded in the "Intranet Zone". This zone is active for pages loaded via UNC paths, named addresses without dots (like
|url=http://support.microsoft.com/kb/174360
|title=How to use security zones in Internet Explorer
|work=Microsoft Knowledge Base
|publisher=Microsoft
|date=18 December 2007
|access-date=31 August 2008
|archive-url= https://web.archive.org/web/20080916215557/http://support.microsoft.com/kb/174360| archive-date= 16 September 2008 | url-status= live}} As such, IE8 will not pass the Acid2 test if loaded in these cases.{{cite web
|url=http://blogs.msdn.com/ie/archive/2008/08/27/introducing-compatibility-view.aspx
|title=Introducing Compatibility View
|last=Dickens
|first=Scott
|work=IEBlog
|publisher=Microsoft
|date=27 August 2008
|access-date=30 August 2008
|archive-url= https://web.archive.org/web/20080831011039/http://blogs.msdn.com/ie/archive/2008/08/27/introducing-compatibility-view.aspx| archive-date= 31 August 2008 | url-status= live}}
Overview of standards tested
Acid2 tests a variety of web standards published by the World Wide Web Consortium and the Internet Engineering Task Force. With the exception of CSS 2.1, all web standards tested were codified before the year 2000.{{cite press release
|url=http://www.w3.org/Press/PNG-PR.en.html
|title=World Wide Web Consortium Issues First Recommendation for PNG
|publisher=World Wide Web Consortium
|date=7 October 1996
|access-date=12 August 2008
| archive-url= https://web.archive.org/web/20080725202354/http://www.w3.org/Press/PNG-PR.en.html| archive-date= 25 July 2008 | url-status= live}}{{cite web
|url=http://www.w3.org/TR/CSS2/
|title=Cascading Style Sheets, level 2
|last=Bos
|first=Bert
|author2=Lie, Håkon Wium
|author2-link=Håkon Wium Lie
|author3=Lilley, Chris|author4=Jacobs, Ian
|publisher=World Wide Web Consortium
|date=11 April 2008
|access-date=12 August 2008
| archive-url= https://web.archive.org/web/20080811125115/http://www.w3.org/TR/CSS2/| archive-date= 11 August 2008 | url-status= live}}{{cite journal
|url=http://tools.ietf.org/html/rfc2397
|title=RFC 2397 – The "data" URL scheme
|author=Masinter, L
|publisher=Internet Engineering Task Force
|date=August 1998
|doi=10.17487/RFC2397
|access-date=12 August 2008
| archive-url= https://web.archive.org/web/20080915131159/http://tools.ietf.org/html/rfc2397| archive-date= 15 September 2008 | url-status= live|doi-access=free
|url=http://www.w3.org/TR/REC-html40/
|title=HTML 4.01 Specification
|last1=Raggett
|first1=Dave
|author-link1=Dave Raggett
|last2=Le Hors
|first2=Arnaud
|last3=Jacobs
|first3=Ian
|publisher=World Wide Web Consortium
|date=24 December 1999
|access-date=11 August 2008
| archive-url= https://web.archive.org/web/20080810221048/http://www.w3.org/TR/REC-html40/| archive-date= 10 August 2008 | url-status= live}} CSS 2.1 was a candidate recommendation at the time of Acid2's release,{{cite web
|url=http://www.w3.org/TR/2004/CR-CSS21-20040225/
|title=Cascading Style Sheets, level 2 revision 1
|last1=Bos
|first1=Bert
|author2=Çelik, Tantek|author3=Hickson, Ian|author4=Lie, Håkon Wium|author4-link=Håkon Wium Lie|publisher=World Wide Web Consortium
|date=19 July 2007
|access-date=5 January 2009
| archive-url= https://web.archive.org/web/20081217162828/http://www.w3.org/TR/2004/CR-CSS21-20040225/| archive-date= 17 December 2008 | url-status= live}} and was still a candidate recommendation as of 23 April 2009.{{cite web
|url=http://www.w3.org/TR/CSS21/
|title=Cascading Style Sheets, level 2 revision 1
|last=Bos
|first=Bert
|author2=Çelik, Tantek|author3=Hickson, Ian|author4=Lie, Håkon Wium|author4-link=Håkon Wium Lie|publisher=World Wide Web Consortium
|date=19 July 2007
|access-date=21 March 2009
| archive-url= https://web.archive.org/web/20090319050021/http://www.w3.org/TR/CSS21/| archive-date= 19 March 2009 | url-status= live}}
Specifically, Acid2 tests these functions:{{cite web
|url=http://www.webstandards.org/action/acid2/guide/
|title=Acid2: The Guided Tour
|publisher=The Web Standards Project
|access-date=24 December 2007
| archive-url= https://web.archive.org/web/20071223090445/http://www.webstandards.org/action/acid2/guide/#row-1| archive-date= 23 December 2007 | url-status= live}}
- Alpha transparency in PNG-format images: The eyes of the smiley face use alpha transparency, which is part of the 1996 Portable Network Graphics specification. Alpha transparency blends the eyebrows into the face smoothly. This was a significant issue because Internet Explorer 6, the most widely used web browser at the time Acid2 was released,{{cite web
|url=http://www.thecounter.com/stats/2005/April/browser.php
|title=Browser Stats
|publisher=TheCounter.com
|date=April 2005
|access-date=23 August 2008
|archive-url=https://web.archive.org/web/20080813102040/http://www.thecounter.com/stats/2005/April/browser.php
|archive-date=13 August 2008
|url-status=dead
}} did not support alpha transparency. This deficiency was rectified in Internet Explorer 7, bringing Internet Explorer in line with other web browsers in this regard.{{cite web
|url=http://www.libpng.org/pub/png/pngstatus.html#browsers
|title=Current Status of PNG
|last=Roelofs
|first=Greg
|publisher=SourceForge.net
|date=14 March 2009
|access-date=4 April 2009
| archive-url= https://web.archive.org/web/20090413143250/http://www.libpng.org/pub/png/pngstatus.html| archive-date= 13 April 2009 | url-status= live}}
- The object element: The eyes also test support of the HTML object element. The object element has been a part of HTML since HTML 4 was released in 1998,{{cite web
|url=http://www.w3.org/TR/1998/REC-html40-19980424/
|title=HTML 4.0 Specification
|last1=Raggett
|first1=Dave
|author-link=Dave Raggett
|first2=Arnaud Le
|last2=Hors
|last3=Jacobs
|first3=Ian
|publisher=World Wide Web Consortium
|date=24 April 1998
|access-date=28 July 2008
| archive-url= https://web.archive.org/web/20080727143129/http://www.w3.org/TR/1998/REC-html40-19980424/| archive-date= 27 July 2008 | url-status= live}} yet by 2005 it still was not completely supported in all web browsers. The creators of Acid2 considered object element support important because it allows for content fallback—if an object fails to load, then the browser can display alternative (generally simpler, more reliable) content in its place.
- Data URIs: The actual images that form the eyes are encoded as data URIs, which allow multimedia to be embedded in web pages rather than stored as a separate file. Acid2 tests the most common case, where a binary image is base64-encoded into text and then that encoded text is included in a data URI in the web page. Although the IETF published the data URI specification in 1998, they never formally adopted it as a standard.{{cite web
|url=http://www.rfc-editor.org/rfcxx00.html#Proposed
|title=Proposed Standards
|work=Official Internet Protocol Standards
|publisher=Internet Society
|date=4 January 2009
|access-date=4 January 2009
| archive-url= https://web.archive.org/web/20090117062740/http://rfc-editor.org/rfcxx00.html| archive-date= 17 January 2009 | url-status= live}} Nonetheless, the HTML 4.01 specification references the data URI scheme,{{cite web
|url=http://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html#h-13.3.1
|title=Objects, Images, and Applets: Rules for rendering objects
|last=Raggett
|first=Dave
|author2=Le Hors, Arnaud|author3= Jacobs, Ian
|work=HTML 4.01 Specification
|publisher=W3C
|date=24 December 1999
|access-date=20 March 2008
| archive-url= https://web.archive.org/web/20080312073553/http://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html| archive-date= 12 March 2008 | url-status= live}} and data URI support has now been implemented in most browsers.
- Absolute, relative, and fixed CSS positioning: Absolute positioning means that the web developer specifies the exact X and Y coordinates where an element is to be placed into the page. Relative positioning means that the web developer specifies an X and Y offset from the usual position of the element. Fixed positioning means that the element is placed relative to the browser window, and scrolls with the window rather than with the rest of the page.{{cite web
|url=http://www.w3.org/TR/CSS21/visuren.html
|title=Visual formatting model
|work=Cascading Style Sheets, level 2 revision 1
|last=Bos
|first=Bert
|author2=Çelik, Tantek|author3=Hickson, Ian|author4=Lie, Håkon Wium|author4-link=Håkon Wium Lie|publisher=World Wide Web Consortium
|date=19 July 2007
|access-date=5 January 2009
| archive-url= https://web.archive.org/web/20090105052236/http://www.w3.org/TR/CSS21/visuren.html| archive-date= 5 January 2009 | url-status= live}}{{cite web
|url=http://kilianvalkhof.com/2008/css-xhtml/understanding-css-positioning-part-1/
|title=Understanding CSS Positioning part 1
|last=Valkhof
|first=Kilian
|date=5 May 2008
|access-date=31 July 2008
| archive-url= https://web.archive.org/web/20080730034559/http://kilianvalkhof.com/2008/css-xhtml/understanding-css-positioning-part-1/| archive-date= 30 July 2008 | url-status= live}}
- The CSS box model: This feature allows the web designer to specify dimensions, padding, borders, and margins,{{cite web
|url=http://www.w3.org/TR/CSS21/box.html
|title=Box model
|work=Cascading Style Sheets, level 2 revision 1
|last=Bos
|first=Bert
|author2=Çelik, Tantek|author3=Hickson, Ian|author4=Lie, Håkon Wium|author4-link=Håkon Wium Lie|publisher=World Wide Web Consortium
|date=19 July 2007
|access-date=5 January 2009
| archive-url= https://web.archive.org/web/20090105052231/http://www.w3.org/TR/CSS21/box.html| archive-date= 5 January 2009 | url-status= live}} and was the focus of the original Acid1 test. Acid2 not only retests margin support but also tests minimum and maximum heights and widths, features new to CSS 2.0.
- CSS table formatting: This part of CSS allows the web designer to apply table formatting without traditional HTML table markup.
- CSS generated content: Using CSS generated content, web developers can add decorations and annotations to specified elements without having to add the content to each one individually.
- CSS parsing: A number of illegal CSS statements are present in Acid2 to test error handling. Standards-compliant browsers are expected to handle these errors as the CSS specification directs. This helps ensure cross-browser compatibility by making all browsers treat CSS with the same level of strictness, so that what works in one browser should not cause errors in another.
- Paint order: Acid2 requires that the browser has standard paint order. That is, overlapping elements should be placed or painted on top of each other in the correct order.
- Hovering effects: When the user moves the mouse over the smiley face's nose, it turns blue. This is called a hovering effect, and while it has traditionally been used for hyperlinks, it should work on a wide variety of HTML elements.{{cite web
|url=http://blogs.msdn.com/ie/archive/2006/08/22/712830.aspx
|title=Details on our CSS changes for IE7
|last=Mielke
|first=Markus
|work=IEBlog
|publisher=Microsoft
|date=22 August 2006
|access-date=31 July 2008
| archive-url= https://web.archive.org/web/20080730034543/http://blogs.msdn.com/ie/archive/2006/08/22/712830.aspx| archive-date= 30 July 2008 | url-status= live}}
Because Acid2 is not a comprehensive test, it does not guarantee total conformance to any particular standard. A variant of the Acid2 test that does not test for data URI support is also available from the Web Standards Project.
Test conditions
File:Firefox 92.0.1. Acid2 test zoomed in by 300 on browser.png
A passing or failing result is only considered valid if the browser's default settings were used. Actions such as changing font sizes, zoom level, and applying user stylesheets can break the display of the test. This is expected and is not relevant to a browser's compliance.{{cite web
|url=http://www.webstandards.org/2006/07/20/acid2-and-opera-9-clarifications/
|title=Acid2 and Opera 9 Clarifications: Yes, Opera 9 Passes the Test
|author=Holzschlag, Molly E.
|author-link=Molly Holzschlag
|publisher=The Web Standards Project
|date=20 July 2006
|access-date=22 July 2006
|archive-url=https://web.archive.org/web/20060805182608/http://www.webstandards.org/2006/07/20/acid2-and-opera-9-clarifications/
|archive-date=5 August 2006
|url-status=dead
}}
The following browser settings and user actions invalidate the test:{{cite web
|url=http://weblog.timaltman.com/archive/2006/07/19/tims-opera-bits-v11
|title=Tim's Opera Bits v1.1
|last=Altman
|first=Tim
|work=Tim's blog
|date=19 July 2006
|access-date=15 November 2007
|url-status=dead
|archive-url=https://web.archive.org/web/20080310164126/http://weblog.timaltman.com/archive/2006/07/19/tims-opera-bits-v11
|archive-date=10 March 2008
}}
- Scrolling
- Resizing the browser window
- Zooming in or out
- Disabling images
- Using Opera's Fit to width or Small Screen Rendering modes
- Applying custom fonts, colors, styles, etc.
- User JavaScript or Greasemonkey scripts
- Enabling Internet Explorer's "compatibility view"
Compliant and non-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. By the end of March 2009, the current versions of every major web browser passed the test. However, at the time of the test's release, every browser failed it. The images below illustrate the various rendering errors of the most popular browsers when Acid2 was released on 13 April 2005.
Image:Safariacid2.png|Reference rendering
Image:Ieacid2.png|Internet Explorer 6
Image:Acid2 NS72.png|Firefox 1.0
Image:Safari 1.2 Acid2.png|Safari 1.2
Image:Opera 8.0 Acid2.png|Opera 8.0
Timeline of passing applications
The following is a list of releases noting significant releases of applications that passed the test. New applications that have passed Acid2 since their first official release are not included in the timeline.
See also
References
{{Reflist}}
External links
{{Commons}}
{{Spoken Wikipedia|Acid2.ogg|date=2009-04-13}}
- [https://webstandards.org/files/acid2/test.html Acid2 test]
- [http://www.webstandards.org/action/acid2/ Acid2 test information]
- [http://www.howtocreate.co.uk/acid/ Acid2 in major browsers]
- [https://web.archive.org/web/20090927024208/http://www.acidtests.org/ Web Standards Project collection of Acid tests]
- [http://www.webstandards.org/press/releases/2005-04-13/ Web Standards Project press release 13 Apr 2005]
- [https://web.archive.org/web/20110616125128/http://news.cnet.com/The-Acid2-challenge-to-Microsoft/2010-1032_3-5618723.html CNET article proposing the Acid2 test]
- [http://www.hyperborea.org/journal/2005/11/acid2-timeline/ Acid2 timeline]