- From: Chris Lilley <chris@w3.org>
- Date: Wed, 01 Mar 2000 09:11:41 +0100
- To: Tantek Çelik <tantek@cs.stanford.edu>
- CC: "www-style@w3.org" <www-style@w3.org>
Tantek Çelik wrote:
>
> >From Matthew Brealey
> > HR {border: 1px solid;
> > border-color: windowborder /* ? */;
> > display: block;
> > margin: 6px auto}
> >
> > HR[color] {border-color: attr(color)}
>
> Strictly speaking, the COLOR attribute of HR and the CSS color property do not
> accept the same set of values, and the border-color property in particular
> does not accept 'attr()' as a value.
It seems that this sort of usage is turning up more and more, and we should
support it.
> attr(size)-1 is undefined because there are no binary arithmetic operators
> allowed in CSS length values.
Right. Constant arithmetic gets called for every so often, but so far the
WG has though it to complex to add to CSS.
--
Chris
Received on Wednesday, 1 March 2000 03:11:45 UTC