Closed
Bug 831198
Opened 12 years ago
Closed 12 years ago
scrollbox calls to mozCancelAnimationFrame never stop mozRequestAnimationFrame
Categories
(Toolkit :: UI Widgets, defect)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: tabmix.onemen, Assigned: bzbarsky)
Details
Attachments
(1 file)
scrollbox.xml calls to stop animation in _scrollAnim.stop and _arrowScrollAnim.stop calls mozCancelAnimationFrame with the wrong requestHandle.
In both cases this.requestHandle is only saved once on start, it should also be save after each sample, so we can call mozCancelAnimationFrame with the latest requestHandle
Updated•12 years ago
|
Component: DOM → XUL Widgets
Product: Core → Toolkit
Assignee | ||
Comment 1•12 years ago
|
||
Oh, nice catch!
Assignee: nobody → bzbarsky
Whiteboard: [need review]
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #702864 -
Flags: review?(dao)
Updated•12 years ago
|
Attachment #702864 -
Flags: review?(dao) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Whiteboard: [need review]
Target Milestone: --- → mozilla21
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•