W3C home > Mailing lists > Public > www-style@w3.org > February 2000

Re: Collapsed border model conflict resolution difficulties

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Fri, 4 Feb 2000 14:02:06 -0500 (EST)
Message-Id: <200002041902.OAA00273@is02.fas.harvard.edu>
To: www-style@w3.org
On Fri, 04 Feb 2000 14:26:09 -0800, Matthew Brealey
(thelawnet@yahoo.com) wrote:
> 
> Given 
> TABLE {border-collapse: collapse}
> TR.one {border: solid red}
> TR.two {border: solid blue}
> , what colour is the border between TR.one and TR.two?

This is a known ambiguity in the spec.  See:

http://lists.w3.org/Archives/Public/www-style/1999Jul/0077.html
http://lists.w3.org/Archives/Public/www-style/1999Jul/0083.html

I proposed in the first of those two messages that it be resolved by
making the border that comes first *in the document tree* win (which is
good for table-header-groups and table-footer-groups, at least in
HTML).  There are a number of other reasonable solutions.

-David

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 Friday, 4 February 2000 14:02:07 GMT

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