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

Re: [css3-transitions] Interpolation of integer values

From: Brian Birtles <birtles@gmail.com>
Date: Wed, 30 May 2012 10:26:09 +0900
Message-ID: <4FC57731.9070307@gmail.com>
To: www-style@w3.org
(2012/05/30 9:31), Tab Atkins Jr. wrote:
> I think we resolved off-minutes what rounding scheme to use, but I
> don't recall which it was.

It's defined in the section in SMIL that Sylvain linked to.[1] i.e.

   coerced-integer-value = Math.floor( interpolated-value + 0.5 )

I dropped the link and definition in the channel during the meeting so 
it should be in the minutes. I don't remember any objections about that 
scheme arising during the meeting.

Best regards,

Brian Birtles

[1] 
http://www.w3.org/TR/SMIL/smil-profile.html#SMILProfileNS-animation-module
Received on Wednesday, 30 May 2012 01:26:42 GMT

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