Re: [css3-values] Typos in 'vw' keyword section

Christopher Robert Jaquez wrote:


 > It has two typos and should read:
 > "...lengths specified in the *‘vw’* unit *are* scaled proportionally."

Thanks, fixed.

 > Also, just out of curiosity, why is there no analog to the 'vm' unit which
 > is the *larger* between 'vw' and 'vh'?  I imagine use cases must have been
 > lacking or something to that effect but it doesn't seem like much of a
 > stretch to have something, much like 'cover' and 'contain' keywords from CSS
 > Backgrounds and Borders.  On the other hand, of course, I suppose you could
 > just use max(1vw,1vh) but, by that logic, why have 'vm' at all when you
 > could also use min(1vw,1vh)?

I don't remember ever discussing this. The best use case for 'vm' is
probably to ensure that your square, or something, is fully visible on
the screen. Now that we can max and min, it can probably be removed
without anyone missing it. I've noted it as an issue.

              Håkon Wium Lie                          CTO °þe®ª        

Received on Monday, 9 August 2010 16:01:27 UTC