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

Re: border-collapse conflicts and other topics

From: fantasai <fantasai@escape.com>
Date: Tue, 18 Jul 2000 14:52:02 -0400
Message-ID: <3974A752.9B3BDFC5@yahoo.com>
To: www-style@w3.org
 | > Re: Hidden Borders
 |
 | >   Seeing as the width of a border affects the width/height of the
 | >   cell (or the table), why are hidden borders treated as none (without
 | >   a width)? If I decided to put a border on :hover, the contents would
 | >   bounce around every time I moved the mouse, no?
 |
 | I think what you want is 'border-color: transparent'.  One could say
 | that 'border-style: hidden' is slightly misnamed.

You're right. I must've picked that use up from Mozilla. I'll go file a bug..

BTW, the 'transparent' keyword is left out of the specific border-color
properties, but added for the shorthand. Is this an oversight?
(CSS2:8.5.2)

 | > Re: Slight Error?
 | >
 | >   <BLOCKQUOTE cite=[CSS2:17.6.2]>
 | >   3.If none of the styles is 'hidden' and at least one of them is not
 | >     'none', then narrow borders are discarded in favor of wider ones.
 | >     If several have the same 'border-width' than styles are preferred
 | >     in this order: 'double', 'solid', 'dashed', 'dotted', 'ridge',
 | >     'outset', 'groove', and the lowest: 'inset'.
 | >   </BLOCKQUOTE>
 | >
 | >   I would think that should read "If none of the styles are 'hidden'
 | >   and at least two of them are not 'none'".
 |
 | Why?  It seems fine to me as is.  I think other border styles are meant
 | to override 'none'.

Well, yes, they are to override 'none', but that case is covered already.
This is saying which border(s) to discard if there's a conflict. And a
border can't conflict with itself.


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
Received on Tuesday, 18 July 2000 16:29:28 GMT

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