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

Re: [css3-transitions] rule for interpolating 'font-weight'

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 27 Mar 2012 13:38:44 -0700
Message-ID: <CAAWBYDBrrfqzaw4dYO0sT1eXAjUuCJaQ11xyX8b6Jt6Q19Stfw@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: www-style@w3.org
On Tue, Mar 27, 2012 at 12:35 PM, L. David Baron <dbaron@dbaron.org> wrote:
> When we were discussing the rule for interpolating 'font-weight'
> during the March 7 telecon
> http://lists.w3.org/Archives/Public/www-style/2012Mar/0195.html and
> in my list of issues
> http://lists.w3.org/Archives/Public/www-style/2012Feb/1083.html I
> kept referring to the rule for rounding font-weight as rounding to
> the nearest integer.
>
> However, the rule for animating integers specifies using floor().  I
> tend to think font-weight should probably be consistent with this,
> and thus round down to the nearest lower-or-equal multiple of 100.
>
> I plan to specify this instead of round-to-nearest.
>
> Does that sound ok?

Note the SVGWG raised an issue with us about this rounding behavior,
because SVG transitions do round-to-nearest.

~TJ
Received on Tuesday, 27 March 2012 20:39:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:53 GMT