Re: [css3-transitions][css3-fonts] should font weights be interpolated?

I believe that's an accurate assessment of CSS font weights (which also requires remapping actual font weights as they really are numbers and don't always fit those increments).

Sent from my iPhone

On Dec 21, 2010, at 19:21, Cameron McCormack <cam@mcc.id.au> wrote:

> The CSS3 Transitions spec currently lists font-weight as being of type
> “number”.  Does this mean that a transition should interpolate between
> values?  For example with:
> 
>  <style>span { transition: font-weight 5s; font-weight: 100 }</style>
>  <script>
>    mySpan.style.fontWeight = 900;
>  </script>
> 
> should the property get values 100, 200, …, 800, 900 over the course of
> the 5s?  I think I remember someone or some spec saying that these
> numbers are really keyword values, and not really to be treated as
> numbers.  If so, then I think interpolation shouldn’t happen.
> 
> Slightly relatedly, the CSS3 Fonts spec says for font-weight “Computed
> value: see description”, but there is no explicit description of whether
> normal computes to 400, etc.  It just says that normal has the same
> meaning as 400.
> 
> -- 
> Cameron McCormack ≝ http://mcc.id.au/
> 

Received on Wednesday, 22 December 2010 17:04:33 UTC