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

Issue 2460983002: Use LayoutBox::paintedOutputOfObjectHasNoEffectregardlessOfSize() for SVGRoot (Closed)

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

Description

Use LayoutBox::paintedOutputOfObjectHasNoEffectregardlessOfSize() for SVGRoot Previously LayoutSVGRoot inherited the function from LayoutReplaced which assumes the object always has something to paint for itself and always returns false. However, LayoutSVGRoot should use the same rule as LayoutBox. When a LayoutSVGRoot doesn't have box decorations, it doesn't need any paint invalidation for itself. BUG=660195 Committed: https://crrev.com/fbb39cf2f2de761f01d273049c150719a231cdff Cr-Commit-Position: refs/heads/master@{#428588}

Patch Set 1 #

Patch Set 2 : With local rebaselines #

Patch Set 3 : Rebaseline-cl #

Patch Set 4 : Remove an extra file (rebaseline-cl seems to add untracked files under LayoutTests) #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -1423 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/clip-path-child-changes-expected.txt View 1 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/clip-path-id-changes-expected.txt View 1 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/clip-path-units-changes-expected.txt View 1 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/deep-nested-embedded-svg-size-changes-no-layout-triggers-1-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/deep-nested-embedded-svg-size-changes-no-layout-triggers-2-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/hairline-stroke-squarecap-expected.txt View 1 1 chunk +0 lines, -14 lines 0 comments Download
A + third_party/WebKit/LayoutTests/paint/invalidation/svg/image-with-clip-path-expected.txt View 1 2 3 chunks +0 lines, -18 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/invalidate-on-child-layout-expected.txt View 1 2 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/js-late-marker-and-object-creation-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/js-late-mask-and-object-creation-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/js-repaint-rect-on-path-with-stroke-expected.txt View 1 2 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/js-update-bounce-expected.txt View 1 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/js-update-container-expected.txt View 1 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/js-update-image-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/js-update-polygon-changes-expected.txt View 1 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/js-update-polygon-removal-expected.txt View 1 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/js-update-style-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/js-update-transform-addition-expected.txt View 1 2 3 4 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/js-update-transform-changes-expected.txt View 1 2 3 4 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/marker-strokeWidth-changes-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/marker-viewBox-changes-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/mask-invalidation-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/modify-inserted-listitem-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/nested-embedded-svg-size-changes-no-layout-triggers-1-expected.txt View 1 3 chunks +1 line, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/nested-embedded-svg-size-changes-no-layout-triggers-2-expected.txt View 1 3 chunks +1 line, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/outline-offset-shape-expected.txt View 1 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/repaint-stroke-width-changes-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/resource-invalidate-on-target-update-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/rounded-rect-height-change-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/svg-image-par-resize-expected.txt View 1 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/transform-changed-state-expected.txt View 1 2 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/transform-foreign-object-expected.txt View 1 2 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/transform-text-element-expected.txt View 1 3 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-path-inside-transformed-html-expected.txt View 1 2 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/ems-display-none-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/exs-display-none-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/image-with-clip-path-expected.txt View 1 2 1 chunk +0 lines, -133 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/inner-svg-change-viewPort-relative-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/js-late-clipPath-and-object-creation-expected.txt View 1 4 chunks +0 lines, -18 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/js-late-clipPath-creation-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/js-late-gradient-and-object-creation-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/js-late-pattern-and-object-creation-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/outline-offset-text-expected.txt View 1 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/remove-text-node-from-tspan-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/repaint-non-scaling-stroke-text-decoration-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/repaint-non-scaling-stroke-text-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/tabgroup-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-mask-update-expected.txt View 1 3 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-repaint-including-stroke-expected.txt View 1 3 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-rescale-expected.txt View 1 2 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-viewbox-rescale-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-xy-updates-SVGList-expected.txt View 1 3 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/tspan-dynamic-positioning-expected.txt View 1 3 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/animated-path-inside-transformed-html-expected.txt View 1 2 2 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/ems-display-none-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/exs-display-none-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/image-with-clip-path-expected.txt View 1 2 1 chunk +0 lines, -128 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/inner-svg-change-viewPort-relative-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/js-late-clipPath-and-object-creation-expected.txt View 1 2 4 chunks +0 lines, -18 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/js-late-clipPath-creation-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/js-late-gradient-and-object-creation-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/js-late-pattern-and-object-creation-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/modify-transferred-listitem-different-attr-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/outline-offset-text-expected.txt View 1 2 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/remove-text-node-from-tspan-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/repaint-non-scaling-stroke-text-decoration-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/repaint-non-scaling-stroke-text-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/tabgroup-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/text-mask-update-expected.txt View 1 2 3 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/text-repaint-including-stroke-expected.txt View 1 2 3 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/text-rescale-expected.txt View 1 2 2 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/text-viewbox-rescale-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/text-xy-updates-SVGList-expected.txt View 1 2 3 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/tspan-dynamic-positioning-expected.txt View 1 2 3 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/animated-path-inside-transformed-html-expected.txt View 1 2 2 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/ems-display-none-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/exs-display-none-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/image-with-clip-path-expected.txt View 1 2 1 chunk +0 lines, -128 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/inner-svg-change-viewPort-relative-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/js-late-clipPath-and-object-creation-expected.txt View 1 2 4 chunks +0 lines, -18 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/js-late-clipPath-creation-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/js-late-gradient-and-object-creation-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/js-late-pattern-and-object-creation-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/modify-transferred-listitem-different-attr-expected.txt View 1 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/outline-offset-text-expected.txt View 1 2 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/remove-text-node-from-tspan-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/repaint-non-scaling-stroke-text-decoration-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/repaint-non-scaling-stroke-text-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/tabgroup-expected.txt View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-mask-update-expected.txt View 1 2 3 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-repaint-including-stroke-expected.txt View 1 2 3 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-rescale-expected.txt View 1 2 2 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-viewbox-rescale-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-viewbox-rescale-expected.txt View 1 2 5 chunks +23 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-xy-updates-SVGList-expected.txt View 1 2 3 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/tspan-dynamic-positioning-expected.txt View 1 2 3 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutReplaced.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h View 1 chunk +5 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (17 generated)
Xianzhu
I have run it locally and all layout test mismatches are removal of unnecessary paint ...
4 years, 1 month ago (2016-10-28 18:36:56 UTC) #4
pdr.
On 2016/10/28 at 18:36:56, wangxianzhu wrote: > I have run it locally and all layout ...
4 years, 1 month ago (2016-10-28 19:21:33 UTC) #7
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/2460983002/40001
4 years, 1 month ago (2016-10-28 21:47:50 UTC) #13
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/2460983002/60001
4 years, 1 month ago (2016-10-28 22:34:15 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/58160) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 1 month ago (2016-10-28 22:51:00 UTC) #18
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/2460983002/80001
4 years, 1 month ago (2016-10-29 00:45:12 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-10-29 01:58:54 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-10-29 02:04:28 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/fbb39cf2f2de761f01d273049c150719a231cdff
Cr-Commit-Position: refs/heads/master@{#428588}

Powered by Google App Engine
This is Rietveld 408576698