W3C home > Mailing lists > Public > public-css-bugzilla@w3.org > May 2012

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 21 May 2012 05:44:32 +0000
To: public-css-bugzilla@w3.org
Message-Id: <E1SWLQ0-0003I9-4j@jessica.w3.org>

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


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:36:39 UTC