Opera passes Acid2

This week’s build of Opera 9 passes the Acid2 test as the second browser — only beat by Safari

iCab and Konqueror themseleves claim to pass Acid2, but make a small mistake by displaying a scrollbar when they should not, according to this CSS rule:

  html { font: 12px sans-serif; margin: 0; padding: 0; overflow: hidden; /* hides scrollbars on viewport, see 11.1.1:3 */ background: white; color: red; }

Comments

Comment from Anne van Kesteren on 2006-03-13 12:51

I think browsers are still allowed to show the scrollbar though, are they not?

Comment from Skrim on 2006-03-13 17:48

The specifications seem rather clear on that. When “overflow: hidden” is used the browser should not display a scrollbar wheras with “overflow: scroll” it should always display a scrollbar.

Comment from Anne van Kesteren on 2006-03-14 01:23

Yeah, that seems rather odd to me. While it seems ok for the CSS specification to talk about the UI within a UA it seems inappropriate to dictate what UAs should do in such situations in such detail. Anyway, there is nothing in the specification currently that would back up my earlier statement.

Comment from Britney on 2006-04-03 02:25

I heard about this awhile ago but I always knew it would not have any problem passing!

Comment from Thomas on 2006-04-12 16:06

I’ve blogged here why hiding the scrollbars is not strictly necessary to pass Acid2.

This discussion has been closed. No further comments may be added.