Closed
Bug 900783
Opened 11 years ago
Closed 11 years ago
Make HasAnimationOfProperty return false in the refresh driver tick in which the transition completes.
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: dbaron, Assigned: dbaron)
Details
Attachments
(1 file)
I don't know of any observable bug that this fixes, but the code without this fix seems incorrect; the "removed sentinel" concept generally requires that callers enumerating transitions check that they're not enumerating the sentinel. This ensures that HasAnimationOfProperty switches from returning true to false in the first refresh cycle after the end of the animation rather than the second. I originally wrote this in https://bugzilla.mozilla.org/show_bug.cgi?id=876626#c13 but it turned out not to be related to that bug.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #784705 -
Flags: review?(ncameron)
Updated•11 years ago
|
Attachment #784705 -
Flags: review?(ncameron) → review+
Assignee | ||
Comment 2•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/279c6aca048a
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/279c6aca048a
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•