Coordinates | 42°25′″N2°44′″N |
---|---|
Name | Acid2 |
Screenshot | |
Url | acid2.acidtests.org |
Commercial | No |
Type | Web standards test |
Language | English language |
Registration | No |
Owner | The Web Standards Project |
Author | Ian Hickson |
Launch date | April 13, 2005 |
Current status | Online |
Slogan | }} |
Acid2 is a test page published and promoted by the Web Standards Project to expose web page 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, and was released on April 13, 2005. As with Acid1, an application passes the test if the way it displays the test page matches a reference image.
Acid2 tests aspects of HTML markup, CSS 2.1 styling, PNG images, and data URIs. 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.
While at the time of Acid2's release no web browser passed the test, Acid2 was designed with Microsoft Internet Explorer particularly in mind. The creators of Acid2 were dismayed that Internet Explorer did not follow web standards, and that because of this, Internet Explorer was prone to display web pages differently from other browsers. When such a discrepancy between browsers is encountered, web developers spend time tweaking their web pages in order to make the pages be displayed correctly across different browsers. Acid2 represented a challenge to Microsoft to bring Internet Explorer into compliance with web standards, making it easier to design web pages that work as intended in any web browser.
On October 31, 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 March 19, 2009, the latest versions of all major desktop web browsers now pass the test. Acid2 was followed by Acid3.
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. In a March 16, 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.
Lie and a colleague, Ian Hickson, had created the first draft of the test in February 2005. Ian Hickson coded the final test in collaboration with the Web Standards Project and the larger web community. It was officially released on April 13, 2005 and at that time, every web browser failed it spectacularly.
On April 23, 2005, Acid2 was updated to fix a bug that made the mouth appear too close to the nose. 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.
Unfortunately, another unresolved standards compliance issue caused IE8 beta 1 to fail if not all elements of the test were hosted from the same server. In August 2008 Microsoft released IE8 beta 2, which resolved the issue. 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
Specifically, Acid2 tests:
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. The alpha transparency provides an elegant way to have the eyebrows smoothly blend into the face. This was a significant issue because Internet Explorer 6, the most widely used web browser at the time Acid2 was released, 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.
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, 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. Data URIs allow embedding multimedia directly into web pages rather than being 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. Interestingly, although the IETF published the data URI specification in 1998, they never formally adopted it as a standard. Nonetheless, the HTML 4.01 specification references the data URI scheme 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.
The CSS box model: This feature allows specifying dimensions, padding, borders, and margins, 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.
Hovering effects: When the user moves his or her 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.
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.
The following browser settings and user actions invalidate the test:
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 every browser failed it, but now a number of applications pass the test:
Even though Opera Mini is based on the same rendering engine as Opera for personal computers, it does not pass the Acid2 test. This is because Opera Mini intentionally reformats web pages to try to make them more suitable for devices with small screens.
{|class="wikitable" |- !style="width:18ex"|Date !style="width:19ex"|Browser !style="width:18ex"|Availability !Notes |- |27 April 2005 |Safari | style="background:#ff8a80;"|private build | |- |18 May 2005 |iCab | style="background:#ff8a80;"|private build |This build was made available to registered iCab users on May 20, 2005. |- |4 June 2005 |Konqueror | style="background:#ff8a80;"|private build |- |6 June 2005 |iCab | style="background:#fe0;"|public build |Whether this version of iCab truly passes the test or not was questioned because it displays a scrollbar on the test page. The CSS specification states that Acid2 correctly rendered should not have a scrollbar, but also says that "there may exist valid reasons in particular circumstances" to ignore this requirement. |- |6 June 2005 |Safari | style="background:#fa0;"|source code available |WebKit, the underpinnings of Safari, was made open source on June 6, 2005. When Safari was run with this latest version of WebKit, it passed the Acid2 test. |- |31 October 2005 |Safari 2.0.2 | style="background:#4f2;"|official release |Included in Mac OS X 10.4.3. First officially released web browser to pass test. |- |29 November 2005 |Konqueror 3.5 | style="background:#4f2;"|official release |First Linux-compatible browser to pass the test, although it did not hide the scrollbar. |- |7 December 2005 |Prince 5.1 | style="background:#4f2;"|official release |First non-web browser to pass test. |- |10 March 2006 |Opera 9 Development build 8249 | style="background:#fe0;"|public weekly build |First Microsoft Windows-compatible browser to pass the test and also the first Linux-compatible browser to pass the test including hiding the scrollbar. A public beta was released on April 20, also successful. |- |28 March 2006 |Konqueror 3.5.2 | style="background:#4f2;"|official release |Updated to hide the scrollbar. |- |11 April 2006 |Mozilla Firefox | style="background:#fe0;"|public nightly build |The "reflow refactoring" nightly builds, whose code was branched from the Gecko 1.9/Firefox 3.0 trunk, pass Acid2. |- |24 May 2006 |Opera Mobile for Symbian OS | style="background:#ff8a80;"|private build |First mobile browser to pass test. |- |20 July 2006 |OmniWeb 5.5 beta 1 | style="background:#fe0;"|public build |OmniWeb switches its rendering engine to WebKit, the same rendering engine used in Safari which already passed the Acid2 test |- |20 June 2006 |Opera 9.0 | style="background:#4f2;"|official release | |- |4 July 2006 |Obigo Browser | style="background:#ff8a80;"|private build |Second mobile browser to pass test. |- |17 August 2006 |iCab 3.0.3 | style="background:#4f2;"|official release |First public release that hides the scrollbar. |- |6 September 2006 |OmniWeb 5.5 | style="background:#4f2;"|official release | |- |8 December 2006 |Mozilla Firefox, Camino, SeaMonkey | style="background:#fe0;"|public nightly build |Reflow refactoring branch is merged into main Gecko trunk. Firefox, Camino, and SeaMonkey trunk builds now pass Acid2. |- |5 March 2008 |Internet Explorer 8 Beta 1 | style="background:#fe0;"|public build |Beta 1 passes the test when hosted at www.webstandards.org, but fails the test when hosted at webstandards.org or acid2.acidtests.org. |- |17 June 2008 |Mozilla Firefox 3.0 | style="background:#4f2;"|official release | |- |27 August 2008 |Internet Explorer 8 Beta 2 | style="background:#fe0;"|public build |Beta 2 and later pass the test unless it is hosted from the Intranet Zone. |- |2 September 2008 |Google Chrome 0.2 beta | style="background:#fe0;"|public build | |- |14 October 2008 |Flock 2.0 | style="background:#4f2;"|official release | |- |11 December 2008 |Google Chrome 1.0 | style="background:#4f2;"|official release | |- |19 March 2009 |Internet Explorer 8 | style="background:#4f2;"|official release | |- |27 October 2009 |SeaMonkey 2.0 | style="background:#4f2;"|official release | |- |18 November 2009 |Camino 2.0 | style="background:#4f2;"|official release | |- |24 June 2010 |Spicebird 0.8 | style="background:#4f2;"|official release | |}
ar:أسيد2 ca:Acid2 cs:Acid2 de:Acid (Browsertests)#Acid2 es:Acid2 eo:Acid2 fr:Acid2 ko:Acid2 it:Acid2 nl:Acid2 ja:Acid2 no:Acid2 pl:Acid2 pt:Acid2 ru:Acid2 sk:Acid2 fi:Acid2 sv:Acid webbläsartester#Acid2 tr:Acid2 zh:Acid2
This text is licensed under the Creative Commons CC-BY-SA License. This text was originally published on Wikipedia and was developed by the Wikipedia community.
The World News (WN) Network, has created this privacy statement in order to demonstrate our firm commitment to user privacy. The following discloses our information gathering and dissemination practices for wn.com, as well as e-mail newsletters.
We do not collect personally identifiable information about you, except when you provide it to us. For example, if you submit an inquiry to us or sign up for our newsletter, you may be asked to provide certain information such as your contact details (name, e-mail address, mailing address, etc.).
When you submit your personally identifiable information through wn.com, you are giving your consent to the collection, use and disclosure of your personal information as set forth in this Privacy Policy. If you would prefer that we not collect any personally identifiable information from you, please do not provide us with any such information. We will not sell or rent your personally identifiable information to third parties without your consent, except as otherwise disclosed in this Privacy Policy.
Except as otherwise disclosed in this Privacy Policy, we will use the information you provide us only for the purpose of responding to your inquiry or in connection with the service for which you provided such information. We may forward your contact information and inquiry to our affiliates and other divisions of our company that we feel can best address your inquiry or provide you with the requested service. We may also use the information you provide in aggregate form for internal business purposes, such as generating statistics and developing marketing plans. We may share or transfer such non-personally identifiable information with or to our affiliates, licensees, agents and partners.
We may retain other companies and individuals to perform functions on our behalf. Such third parties may be provided with access to personally identifiable information needed to perform their functions, but may not use such information for any other purpose.
In addition, we may disclose any information, including personally identifiable information, we deem necessary, in our sole discretion, to comply with any applicable law, regulation, legal proceeding or governmental request.
We do not want you to receive unwanted e-mail from us. We try to make it easy to opt-out of any service you have asked to receive. If you sign-up to our e-mail newsletters we do not sell, exchange or give your e-mail address to a third party.
E-mail addresses are collected via the wn.com web site. Users have to physically opt-in to receive the wn.com newsletter and a verification e-mail is sent. wn.com is clearly and conspicuously named at the point of
collection.If you no longer wish to receive our newsletter and promotional communications, you may opt-out of receiving them by following the instructions included in each newsletter or communication or by e-mailing us at michaelw(at)wn.com
The security of your personal information is important to us. We follow generally accepted industry standards to protect the personal information submitted to us, both during registration and once we receive it. No method of transmission over the Internet, or method of electronic storage, is 100 percent secure, however. Therefore, though we strive to use commercially acceptable means to protect your personal information, we cannot guarantee its absolute security.
If we decide to change our e-mail practices, we will post those changes to this privacy statement, the homepage, and other places we think appropriate so that you are aware of what information we collect, how we use it, and under what circumstances, if any, we disclose it.
If we make material changes to our e-mail practices, we will notify you here, by e-mail, and by means of a notice on our home page.
The advertising banners and other forms of advertising appearing on this Web site are sometimes delivered to you, on our behalf, by a third party. In the course of serving advertisements to this site, the third party may place or recognize a unique cookie on your browser. For more information on cookies, you can visit www.cookiecentral.com.
As we continue to develop our business, we might sell certain aspects of our entities or assets. In such transactions, user information, including personally identifiable information, generally is one of the transferred business assets, and by submitting your personal information on Wn.com you agree that your data may be transferred to such parties in these circumstances.