[css3-transitions] Interpolation of integer values

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]. 

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

[1] http://www.w3.org/TR/css3-transitions/
[2] http://lists.w3.org/Archives/Public/public-fx/2012AprJun/0107.html
[3] http://www.w3.org/TR/SMIL/smil-profile.html#SMILProfileNS-animation-module
[4] http://lists.w3.org/Archives/Public/www-style/2012Mar/0655.html

Received on Wednesday, 30 May 2012 00:21:28 UTC