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

Re: Horizontal rules

From: Chris Lilley <chris@w3.org>
Date: Wed, 01 Mar 2000 09:11:41 +0100
Message-ID: <38BCD0BD.48BBB4B0@w3.org>
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 GMT

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