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

>> 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
'<length>'.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>

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