The Good Life... a weblog about life, technology, and the Opera web browser

Acid2 - Containing page (updated!)

Update: This post was originally made on February 10, 2006. However, we found that we needed to do some additional information verification the next day and took the post down. Verification now complete, the original post is back:

Two more Acid2 fixes came in build 7981. These changes make no visible difference in the rendering of the test. Instead, they remove the scrollbar on the page in which the test is displayed. As with several other items, this part of the test is not mentioned in the Acid2 guide. Personally, I didn't even notice the problem until a colleague pointed it out. Now, on to the bugs.

In the Acid2 test, the HTML element is set to overflow: hidden, which should hide the scrollbar on the page, regardless of the page's length. However, in Opera, if the CSS overflow property was set on the root element of a document, the property would not be propagated to the viewport. For HTML documents, that meant setting overflow on the HTML element would not change the overflow property on the BODY element. This bug is now fixed and the scrollbar no longer appears on the Acid2 test page. Check this test to see how your browser handles it.

Unfortunately, Opera had another bug which would break Acid2 after the above fix. In particular, if a link went to an anchor in an element set to overflow: hidden, Opera wouldn't scroll to that anchor. Check this test to see how your browser handles it. Though the URL for the Acid2 test is http://webstandards.org/act/acid2/test.html, the visual portion of the test is at http://webstandards.org/act/acid2/test.html#top. Thus, without fixing this bug, there would be no way to scroll to the visual portion of the test. Thankfully, these two bugs were fixed simultaneously.

There is no updated rendering screenshot, as the rendering itself didn't change, just the existence of the scrollbar for the page. Load the Acid2 test in Opera 8.51 and Opera 9.0 Preview 2 to see the difference.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Note: Comments with a light blue background were made by the site owner.

errr, strange things happen

errr, strange things happen when you scroll the page with the mouse wheel...

Which page? If you mean the

Which page? If you mean the Acid2 test, then yes, that is correct. As diz pointed out, there are fixed positioned elements on the page.

@YtseJam: I think that these

@YtseJam: I think that these elements are fixed positioned so they should behave like this.

Are the remaining bug is so

Are the remaining bug is so hard to fix?

Yes, actually, they

Yes, actually, the remaining issues are very difficult to fix.

Sorry about that. Fixed.

Sorry about that. Fixed.

Faded eyes

Not strictly relevant, but why are the eyes in Opera's rendering 50% faded?

It's a bug. There are two

It's a bug. There are two images behind the eyes, one of which is rendered in front of the eyes in Opera. The images are 2x2 blocks, with the top left and bottom right corners yellow and the other two corners transparent. This creates a checkered yellow/transparent pattern over the eyes, leading to a dimmed effect.