W3C home > Mailing lists > Public > www-style@w3.org > May 2004

Re: auto units versus 'auto' value, was Re: vertical-align

From: Anne van Kesteren (fora) <fora@annevankesteren.nl>
Date: Fri, 21 May 2004 07:48:43 +0200
Message-ID: <40AD983B.1010605@annevankesteren.nl>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: W3C Style List <www-style@w3.org>

>> And that is exactly why your proposal doesn't make sense ;-)
> Set of allowed values for 'font-size' attribute and e.g. for 'width'
> attribute are already not equal.
> Following your logic 'auto' value should be considered as wrong
> because it cannot be applied to font-size.

No you are wrong. '<length>' is allowed both on 'font-size' and 'width'
and there are no restrictions on things that are defined within
'<length>' like it should.

> Anne, sorry, but I cannot understand your logic here.

Then reread everything inside the specification if you haven't done already.

> Just consider 'auto' not as only value but as a units name. These
> 'auto' units has not only 'auto' (100%%) value but also 80auto
> (80%%), etc.

'auto' is a value, not a unit. A unit is part of a value.

> Just imagine that instead of
> <length>  Specifies a fixed width. .... auto         See the section
> .....
> you will see
> <length>  Specifies a fixed width. .... <auto>     See the section
> describing auto units.....
> Is this not clear?

This is clear, but it doesn't make sense, since '%%' would be part of

  Anne van Kesteren
Received on Friday, 21 May 2004 01:49:00 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:13 UTC