W3C home > Mailing lists > Public > public-css-testsuite@w3.org > February 2012

Re: [css3-transitions] [css3-animations] API for testing transitions and animations

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 14 Feb 2012 14:38:10 -0500
Message-ID: <4F3AB822.7050705@mit.edu>
To: Aryeh Gregor <ayg@aryeh.name>
CC: public-css-testsuite@w3.org
On 2/14/12 2:32 PM, Aryeh Gregor wrote:
> On Tue, Feb 14, 2012 at 2:01 PM, Boris Zbarsky<bzbarsky@mit.edu>  wrote:
>> Which timer?  The setTimeout timer, or the animation one?
>
> Both.

The setTimeout timer is almost certainly not very precise in practice. 
Especially if you want short timeouts.

The animation timer may be better, as long as you keep in mind that it 
only fires at 60Hz or so.

> Well, ideally, yes.  But to verify that the user is actually seeing
> what they're supposed to, as opposed to just computed values being
> correct, you need some type of reftest.

Sure.  I'm saying there's a place for both sorts of test.

-Boris
Received on Tuesday, 14 February 2012 19:38:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 14 February 2012 19:38:42 GMT