W3C home > Mailing lists > Public > www-style@w3.org > July 2001

Re: CSS2 errata - border backgrounds

From: fantasai <fantasai@escape.com>
Date: Wed, 18 Jul 2001 08:07:02 -0400
Message-ID: <3B557BE6.A33DE947@escape.com>
To: www-style@w3.org
Bert Bos wrote:
>
> An erratum for 14.2 already exists.

Is there a reason why it does not change this?
<blockquote
cite="http://www.w3.org/TR/1998/REC-CSS2-19980512/colors.html#propdef-background-image">
If a background image is specified, this property specifies
whether the image is repeated (tiled), and how. All tiling
covers the content and padding areas of a box.
           ^^^^^^^^^^^^^^^^^^^
</blockquote>


> Why does it conflict with the figure in 17.5.1? That figure
> talks about backgrounds only, not about borders.

http://www.w3.org/TR/REC-CSS2/images/tbl-empty.gif

<blockquote
cite="http://www.w3.org/TR/REC-CSS2/tables.html#table-layers">
<STYLE type="text/css">
      TABLE { background: #ff0; border-collapse: collapse }
      TD    { background: red; border: double black }
</STYLE>
</blockquote>

If the border were rendered on top of the elements background, the
space between the double borders would be red, not yellow.

This is also something that needs to be clarified:
In the collapsing-borders table model, where are the boundaries
of the cell backgrounds? Does one over-paint the other? Do they
meet in the middle?
Received on Wednesday, 18 July 2001 08:08:16 GMT

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