ArticleslgStudy

chemistry

Acid2

Acid2 is a chemistry topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Acid2 rather than just read about it. In short: 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.

Acid2 — main illustration
Acid2 — illustration

Key takeaways

  • Acid2 belongs to chemistry; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Acid2 to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Acid2 from memory before moving on to harder problems.

Reference excerpt

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

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 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. Lie and a colleague, Ian Hickson, 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 13 April 2005 and at that time, every web browser failed it spectacularly. On 23 April 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.

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. 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. 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. 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." 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 http://mysite/), and sites that bypass the proxy settings. As such, IE8 will not pass the Acid2 test if loaded in these cases.

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. CSS 2.1 was a candidate recommendation at the time of Acid2's release, and was still a candidate recommendation as of 23 April 2009. Specifically, Acid2 tests these functions:

… excerpt ends here. Continue reading the full article.

Illustrations

Acid2 illustration
Acid2: The smiley 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.
The smiley 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: Failed Acid2 on Firefox 92.0.1. This image was zoomed in by 300% on the browser, causing errors in rendering.
Failed Acid2 on Firefox 92.0.1. This image was zoomed in by 300% on the browser, causing errors in rendering.
Acid2 illustration
Acid2 illustration

Worked examples

Example 1 — a first encounter with Acid2

Start with the simplest possible case. Write down what Acid2 claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In chemistry, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Acid2 before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Acid2 ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Acid2

In research
Acid2 appears in chemistry research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Acid2 in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Acid2 is common in secondary-school and first-year university syllabi. It links to neighbouring topics Acid tests, Internet properties established in 2005, Test items, so understanding it makes those chapters shorter.
In everyday life
Look for Acid2 outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Acid2” →

How to study Acid2 in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Acid2 means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Acid2 out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Acid2 in simple terms?

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.

Why does Acid2 matter?

Because it connects several chemistry ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Acid2?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Acid2.

Tags

  • Acid tests
  • Internet properties established in 2005
  • Test items
  • Web software

Keep exploring