Re: [css3-transitions] Interpolation of integer values

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 UTC