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

Issue 2575653002: [SPInvalidation] Invalidate all paint and properties for printing (Closed)

Created:
4 years ago by Xianzhu
Modified:
4 years ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[SPInvalidation] Invalidate all paint and properties for printing Previously we recursively call setShouldDoFullPaintInvalidation() on all objects of the views entering/exiting print mode. For SPInvalidation we also need to rebuild all paint properties. Use a flag on FrameView to indicate it has just entered or exited printing mode. Invalidate paint and update paint properties of the whole tree if the flag is set during PrePaintTreeWalk. BUG=645667 TEST=virtual/spinvalidation/printing/overflow-auto.html CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/ffda6c623afe21459d860a11130b37d19479296e Cr-Commit-Position: refs/heads/master@{#438906}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase on third_party/WebKit/LayoutTests/TestExpectations #

Total comments: 7

Patch Set 4 : Add a passing test in TestExpectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -2 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/VirtualTestSuites View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/spinvalidation/printing/README.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.h View 2 chunks +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidator.h View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidator.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (28 generated)
Xianzhu
4 years ago (2016-12-14 16:56:51 UTC) #11
Xianzhu
4 years ago (2016-12-15 01:42:07 UTC) #16
pdr.
The implementation looks good overall, just some questions about why such a heavy hammer is ...
4 years ago (2016-12-15 06:07:25 UTC) #17
Xianzhu
https://codereview.chromium.org/2575653002/diff/40001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/2575653002/diff/40001/third_party/WebKit/LayoutTests/TestExpectations#newcode106 third_party/WebKit/LayoutTests/TestExpectations:106: crbug.com/646176 virtual/spinvalidation/printing/overflow-auto.html [ Pass ] On 2016/12/15 06:07:24, pdr. ...
4 years ago (2016-12-15 16:59:11 UTC) #18
Xianzhu
https://codereview.chromium.org/2575653002/diff/40001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/2575653002/diff/40001/third_party/WebKit/LayoutTests/TestExpectations#newcode106 third_party/WebKit/LayoutTests/TestExpectations:106: crbug.com/646176 virtual/spinvalidation/printing/overflow-auto.html [ Pass ] On 2016/12/15 16:59:11, Xianzhu ...
4 years ago (2016-12-15 17:05:42 UTC) #21
pdr.
On 2016/12/15 at 17:05:42, wangxianzhu wrote: > https://codereview.chromium.org/2575653002/diff/40001/third_party/WebKit/LayoutTests/TestExpectations > File third_party/WebKit/LayoutTests/TestExpectations (right): > > https://codereview.chromium.org/2575653002/diff/40001/third_party/WebKit/LayoutTests/TestExpectations#newcode106 ...
4 years ago (2016-12-15 19:40:32 UTC) #27
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/2575653002/60001
4 years ago (2016-12-15 20:08:27 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-15 20:14:51 UTC) #35
commit-bot: I haz the power
4 years ago (2016-12-15 20:18:22 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ffda6c623afe21459d860a11130b37d19479296e
Cr-Commit-Position: refs/heads/master@{#438906}

Powered by Google App Engine
This is Rietveld 408576698