Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Issue 2511353002: Repaint SVG subtree on viewport changes (resize) (Closed)

Created:
4 years, 1 month ago by fs
Modified:
4 years, 1 month ago
Reviewers:
pdr., Stephen Chennney
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, krit, eae+blinkwatch, f(malita), gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+svgwatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Repaint 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 Committed: https://crrev.com/69d94df4b088b45440f335e6be53399b80e7292f Cr-Commit-Position: refs/heads/master@{#433622}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -7 lines) Patch
A third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-svg-invalidate-children-2.html View 1 chunk +22 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-svg-invalidate-children-2-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp View 1 chunk +12 lines, -7 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
fs
4 years, 1 month ago (2016-11-18 11:29:50 UTC) #4
Stephen Chennney
For testharness tests I don't think you need any expected file at all. Have you ...
4 years, 1 month ago (2016-11-18 15:14:46 UTC) #8
fs
On 2016/11/18 at 15:14:46, schenney wrote: > For testharness tests I don't think you need ...
4 years, 1 month ago (2016-11-18 15:18:22 UTC) #9
fs
On 2016/11/18 at 15:18:22, fs wrote: > On 2016/11/18 at 15:14:46, schenney wrote: > > ...
4 years, 1 month ago (2016-11-18 15:23:07 UTC) #10
Stephen Chennney
On 2016/11/18 15:23:07, fs wrote: > On 2016/11/18 at 15:18:22, fs wrote: > > On ...
4 years, 1 month ago (2016-11-18 15:31:36 UTC) #11
pdr.
LGTM
4 years, 1 month ago (2016-11-21 18:47:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2511353002/1
4 years, 1 month ago (2016-11-21 18:54:44 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-21 20:15:27 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-11-21 20:18:54 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/69d94df4b088b45440f335e6be53399b80e7292f
Cr-Commit-Position: refs/heads/master@{#433622}

Powered by Google App Engine
This is Rietveld 408576698