W3C home > Mailing lists > Public > www-style@w3.org > November 1999

The canvas

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Thu, 11 Nov 1999 13:20:05 -0500 (EST)
Message-Id: <199911111820.NAA22225@is04.fas.harvard.edu>
To: www-style@w3.org
Section 14.2 of CSS2 says both of the following [1]:

# Margins are always transparent so the background of the parent box
# always shines through.

# The background of the box generated by the root element covers the
# entire canvas.

Therefore, one of the following must be true:

 * The margins of the root element are colored by the background of
   the root element
 * The root element cannot have margins.
 * The background of the box generated by the root element covers
   the entire canvas minus the margins of the root element.  (This
   doesn't make much sense to me since the canvas can be much bigger
   than the root element if the children of the root element overflow -
   for example, wide tables or preformatted text.)
 * Something else??

I suspect it's the first of these possibilities, but I'm not sure.
Which one is correct?

David

[1] http://www.w3.org/TR/REC-CSS2/colors.html#q2

L. David Baron    Sophomore, Harvard (Physics)    dbaron@fas.harvard.edu
Links, SatPix, CSS, etc.     <URL: http://www.fas.harvard.edu/~dbaron/ >
WSP CSS AC                      <URL: http://www.webstandards.org/css/ >
Received on Thursday, 11 November 1999 13:20:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:01 GMT