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

Re: [css3-transitions] Interpolation of integer values

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 29 May 2012 17:31:25 -0700
Message-ID: <CAAWBYDAAd=XR1Ygr_o0xG9q=z_zfHFYMtOG+E=cB65qvsBMXUw@mail.gmail.com>
To: Sylvain Galineau <sylvaing@microsoft.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Tue, May 29, 2012 at 5:20 PM, Sylvain Galineau
<sylvaing@microsoft.com> wrote:
> I wanted to confirm my understanding of the resolution reached in Hamburg on the issue
> highlighted as ISSUE 8 in the current /TR version [1].
>
> The FXTF resolved [2]:
>
>        RESOLUTION: copy SMIL's rounding of numbers to integers
>
> >From the minutes I believe we are saying the value is interpolated in floating point
> space but we clamp its computed value based on the Math.floor( interpolated-value + 0.5 )
> formula defined by SMIL [3]. Is that correct? This implies animation from n to n+1 now
> causes the change to happen half way through the value space vs. at the very beginning/end.
>
> Which aligns with the round-to-nearest behavior we recently defined for the interpolation
> of font-weight values [4].

Yes.

I think we resolved off-minutes what rounding scheme to use, but I
don't recall which it was.

> PS: should we cross-post the FXTF resolutions from 5/9 to www-style?

Yes.

~TJ
Received on Wednesday, 30 May 2012 00:32:15 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:54 GMT