[Webkit-unassigned] [Bug 10794] [CSS1] Background-attachment: scroll should scroll within the containing block

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Sep 9 20:46:21 PDT 2006


hyatt at apple.com changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1

------- Comment #1 from hyatt at apple.com  2006-09-09 20:46 PDT -------
I don't believe this is a bug.  When the HTML element has no background, the
body's background propagates up to to the root element and from there to the
underlying canvas.  This behavior is intentional in HTML documents as authors
have the expectation that the "body" of the document will cover the entire

See section 14.2, starting at the third paragraph:

"The background of the root element becomes the background of the canvas and
covers the entire canvas, anchored at the same point as it would be if it was
painted only for the root element itself. The root element does not paint this
background again.

For HTML documents, however, we recommend that authors specify the background
for the BODY element rather than the HTML element. For HTML documents whose
root HTML element has computed values of 'transparent' for 'background-color'
and 'none' for 'background-image', user agents must instead use the computed
value of those properties from that HTML element's first BODY element child
when painting backgrounds for the canvas, and must not paint a background for
that BODY element. This does not apply to XHTML documents."

Leaving open while i double-check with the CSS WG though.

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list