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

Posts from May 18, 2005

Date
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

Acid2: The Fixes Begin - Row 1 and Row 13 (Updated!)

NOTE: I've added some some more details to this entry and corrected an error regarding which bugs affected which rows.

The first Acid2 fixes were in build 7570. According to the W3C CSS 2.1 spec., min-height/width declarations take precedence over max-height/width declarations. In Opera, max-height/width won. Check this test case to see how your browser does for max/min-height and this test case to see how it does for max/min-width. In build 7570, we fixed the case where max-height overrides min-height. This fixes the height of row 1 in the Acid2 test. The max/min-width fix probably will not be in 8.0x, as it isn't part of the Acid2 test.

The second bug fixed in this build is related to the background shorthand property. If a declaration has more than one value for the same property, all values for that property should be ignored. Opera was using the last value found for background-color, background-repeat, background-image, and background-attachment declarations instead of ignoring all values. This fixes the coloring issue in row 13. Check this test case to see how how your browser does it.

Here's the updated rendering with these two bugs fixed:

Screenshot of the Acid2 test

The Acid2 Challenge

As some of you may know, the Web community issued a challenge to Microsoft to correct errors in Internet Explorer and fill gaps in it's standards support. The challenge is based on a test page code-named Acid2.

We've found at least thirteen separate bugs in Opera 8.0 Final that need to be fixed before we can pass the Acid2 test. Some of these bugs are trivial to fix, while others require major code updates. Opera 8.0 Final on Windows (build 7561) renders the Acid2 test like this:

Screenshot of the Acid2 test

We've already begun work on fixing the problems we found. Opera 8.01 should include several fixes, but will not completely pass Acid2.