background of root element is not painted when root is display:none

RESOLVED INVALID

Status

()

RESOLVED INVALID
8 years ago
4 years ago

People

(Reporter: dbaron, Unassigned)

Tracking

(Blocks: 1 bug, {css2})

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

CSS 2.1 says the background of the root element is painted on the canvas, and does not have an exception for when the root is display:none.  Since Hixie wrote a test for this, it's in the CSS 2.1 test suite.
http://test.csswg.org/suites/css2.1/20101027/html4/root-box-003.htm

I think it's pretty silly, but since I'm trying to get bugs filed for all our failures in the test suite and this is the last one, I'm filing it.
I think I specifically made us have the current behaviour and wrote a test for it that is in our test suite. Probably not too hard to fix.
For what it's worth, webkit gets this wrong too.  I guess Opera and IE9 pass this test?

Is it worth trying to make the spec saner, or not so much?
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.