[Bug 16521] Rounding of integer values is inconsistent with SVG and SMIL

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16521

--- Comment #3 from Will Rice <williamhtrice@gmail.com> 2012-05-21 05:44:31 UTC ---
I have identified one situation in which floor() rounding allows for a much
more elegant CSS animation solution to a simple problem.

http://dabblet.com/gist/2760288

I wish to propose that if/when the specification is changed to specify round()
for the rounding of integer property animation/transition that it should
simultaneously be changed to allow non-integer transition/keyframe values for
integer properties and that these should be rounded only after interpolation
has taken place.

In this way, a web designer would be able to create a floor() like behaviour
simply by subtracting 0.5 from their keyframe/input values. At present the
latest Webkit Nightly simply ignores non-integer input values for integer
property animation.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 21 May 2012 05:44:34 UTC