- From: fantasai <fantasai@escape.com>
- Date: Thu, 12 Feb 2004 12:52:40 -0500
- To: www-style@w3.org
in Mozilla bug report 4510 Ian Hickson wrote:
>
> > STYLE_NONE means there's no border; i.e. the border width must calculate to
> > zero no matter what it's specified value.
>
> It must _compute_ to zero, even, so this should happen during the cascade.
>
> e.g.:
>
> div { border: none 2em red; }
> span { border: inherit; border-style: solid; }
>
> <div><span> test </span></div>
>
> ...should not have any border. (We currently do this wrong. It works in Opera.)
In
div {border-style: none;}
span { border-style: inherit; border-style: solid; }
Does the span have a border or not?
~fantasai
Received on Thursday, 12 February 2004 12:54:07 UTC