Closed
Bug 866259
Opened 11 years ago
Closed 11 years ago
vector images need the unlocked draw notification too
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
FIXED
mozilla23
Tracking | Status | |
---|---|---|
firefox21 | --- | unaffected |
firefox22 | + | fixed |
firefox23 | + | fixed |
People
(Reporter: tnikkel, Assigned: tnikkel)
References
Details
(Keywords: regression, Whiteboard: [qa?])
Attachments
(1 file)
1.00 KB,
patch
|
joe
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Currently we use nsIDocument::Add/RemoveImage to track/untrack images that are visible or close to visible. But Add/RemoveImage also calls Increment/DecrementAnimationConsumers on the image (in addition to Lock/Unlock). This means our tracking is also responsible for handling images that should be animated (but don't care about locks). So we need to call our unlocked draw notification for vector images too, so they can animate. This may change when we start tracking both when an image is in an active tab and when it is visible its current tab
Attachment #742530 -
Flags: review?(joe)
Updated•11 years ago
|
Attachment #742530 -
Flags: review?(joe) → review+
Assignee | ||
Comment 1•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/be2a35cd5739
Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 742530 [details] [diff] [review] patch [Approval Request Comment] Bug caused by (feature/regressing bug #): bug 689623 User impact if declined: dynamically added img's that contain svg won't animate Testing completed (on m-c, etc.): just landed on inbound now Risk to taking this patch (and alternatives if risky): this is a relatively safe patch, I think the risk of not taking it is higher than the risk of taking it String or IDL/UUID changes made by this patch: none
Attachment #742530 -
Flags: approval-mozilla-aurora?
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/be2a35cd5739
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Updated•11 years ago
|
status-firefox21:
--- → unaffected
status-firefox22:
--- → affected
status-firefox23:
--- → fixed
tracking-firefox22:
--- → +
tracking-firefox23:
--- → +
Keywords: regression
Updated•11 years ago
|
Attachment #742530 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/5ff080963a6a
Comment 5•10 years ago
|
||
Is there any testing is needed?
Assignee | ||
Comment 6•10 years ago
|
||
If you wanted to verify that this is fixed you could dynamically add an img element that contains an svg file with animation (contains an animated gif or has svg animation, etc).
Updated•10 years ago
|
Whiteboard: [qa?]
You need to log in
before you can comment on or make changes to this bug.
Description
•