Closed
Bug 912953
Opened 11 years ago
Closed 11 years ago
Invalidation fixes for elements with SVG filters
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: mstange, Assigned: mstange)
References
Details
Attachments
(5 files)
1.35 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
1.52 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
946 bytes,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
1.07 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
2.10 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
This fixes most invalidations on attachment 795171 [details] and is what Matt Woodrow suggested in bug 853699 comment 10.
Attachment #800097 -
Flags: review?(roc)
Assignee | ||
Comment 1•11 years ago
|
||
This fixes invalidations that occurred on attachment 795171 [details] when scrolling it from positive into negative offsets.
Attachment #800100 -
Flags: review?(roc)
Assignee | ||
Comment 2•11 years ago
|
||
Sometimes, when scrolling an a page with an <svg> made up of multiple filtered elements, scrolling would invalidate 1x1 pixel boxes for each element, and this GetBounds() call would cause many more pixels to be repainted.
Attachment #800101 -
Flags: review?(roc)
Assignee | ||
Comment 3•11 years ago
|
||
There are several places under nsSVGIntegrationUtils::AdjustInvalidAreaForSVGEffects where we convert rects between coordinate systems, round the result, and end up with a non-empty rect when the original rect was empty.
Attachment #800107 -
Flags: review?(roc)
Attachment #800097 -
Flags: review?(roc) → review+
Attachment #800100 -
Flags: review?(roc) → review+
Attachment #800101 -
Flags: review?(roc) → review+
Attachment #800107 -
Flags: review?(roc) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Not sure if these are necessary, but I guess they wouldn't hurt.
Attachment #800124 -
Flags: review?(roc)
Attachment #800124 -
Flags: review?(roc) → review+
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/10464d3d16cb https://hg.mozilla.org/mozilla-central/rev/b072e77cd907 https://hg.mozilla.org/mozilla-central/rev/801f91eeb1a1 https://hg.mozilla.org/mozilla-central/rev/7d460dd7724f https://hg.mozilla.org/mozilla-central/rev/ee8ed9d3e90d
Status: ASSIGNED → 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
•