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

Re: [css3-transitions] 'transitionstart' and 'transitioncancel' events

From: Daniel Trebbien <dtrebbien@gmail.com>
Date: Sun, 18 May 2014 12:28:04 -0400
Message-ID: <CABrgu5Qn_bmDXm19gP0cW6utEOCOVKO2tsxpWHF7yS5TgP=imQ@mail.gmail.com>
To: WWW Style <www-style@w3.org>
On Wed, May 14, 2014 at 2:33 PM, Daniel Trebbien <dtrebbien@gmail.com>wrote:

> Aside from framework-level operations, there is also the possibility of
> unintentional misuse of the API, such as calling the "scrollToPage()"
> method two or more times in the same timer, specifying different pages for
> each call.  For example, if `scrollToPage(3, callback1)' were called, and
> then `scrollToPage(8, callback2)' in the same thread of execution, then the
> transition for the `scrollToPage(3, callback1)' call would not start, and
> only the transition for the `scrollToPage(3, callback1)' call would run
> (assuming nothing else cancels it).
>

Correction:  Only the transition for the `scrollToPage(8, callback2)' call
would run (assuming nothing else cancels it).
Received on Sunday, 18 May 2014 16:28:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:42 UTC