Chromium Code Reviews
DescriptionRepaint SVG subtree on viewport changes (resize)
When the (outermost) <svg> is sized using percentages, and an ancestor
changes size, the LayoutSVGRoot will be marked for layout (even though
the dimension/initial viewport changes.)
Since changed dimensions can imply a new scale factor (for instance from
interactions with a viewBox) or previously clipped content being
exposed, we need to issue paint invalidations for the entire SVG.
BUG=665912
Review-Url: https://codereview.chromium.org/2511353002
Cr-Commit-Position: refs/heads/master@{#433622}
(cherry picked from commit 69d94df4b088b45440f335e6be53399b80e7292f)
Committed: https://chromium.googlesource.com/chromium/src/+/c349060927de152998f689e80b03d3a8866ab0bb
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||||||||||||||||||||