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

Issue 420483002: Revert of Remove 2 calls to paintInvalidationForWholeRenderer (Closed)

Created:
6 years, 5 months ago by Julien - ping for review
Modified:
6 years, 5 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Revert of Remove 2 calls to paintInvalidationForWholeRenderer (https://codereview.chromium.org/396073002/) (and follow-up rebaselines) Reason for revert: This change is plain wrong as <body> and <html> can have different coordinate spaces (e.g. if either has a transform). Thanks to Elliott to pointing this out. Original issue's description: > Remove 2 calls to paintInvalidationForWholeRenderer > > These calls were needed as we can make the body or the > document element's background bleed into the canvas (ie > replacing the FrameView's background). However the logic > was working around the fact that > clippedOverflowRectForPaintInvalidation didn't account for > the previous cases. > > The whole logic works as the 2 renderers where this happens > share the same coordinate space as the viewport. The tests > are all invalidating as much, we just got rid of some stray > invalidations. > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178605 TBR=leviw@chromium.org,dsinclair@chromium.org NOTREECHECKS=true NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178857

Patch Set 1 #

Patch Set 2 : Better revert. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -20 lines) Patch
M LayoutTests/fast/repaint/body-background-image-expected.txt View 1 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/fast/repaint/border-radius-repaint-2-expected.txt View 1 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/fast/repaint/overflow-scroll-body-appear-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/repaint/view-background-from-body-2-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/repaint/window-resize-media-query-expected.txt View 1 1 chunk +0 lines, -1 line 0 comments Download
A + LayoutTests/platform/linux/fast/repaint/body-background-image-expected.txt View 1 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/platform/linux/fast/repaint/overflow-scroll-body-appear-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/platform/linux/fast/repaint/positioned-document-element-expected.txt View 1 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/platform/mac/fast/repaint/positioned-document-element-expected.txt View 1 1 chunk +3 lines, -1 line 0 comments Download
A + LayoutTests/platform/win-xp/fast/repaint/body-background-image-expected.txt View 1 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/platform/win-xp/fast/repaint/overflow-scroll-body-appear-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/platform/win-xp/fast/repaint/positioned-document-element-expected.txt View 1 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/platform/win/fast/repaint/positioned-document-element-expected.txt View 1 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 3 chunks +10 lines, -8 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Julien - ping for review
Created Revert of Remove 2 calls to paintInvalidationForWholeRenderer
6 years, 5 months ago (2014-07-24 17:46:51 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jchaffraix@chromium.org/420483002/1
6 years, 5 months ago (2014-07-24 17:47:22 UTC) #2
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-24 17:47:34 UTC) #3
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 5 months ago (2014-07-24 17:47:35 UTC) #4
Julien - ping for review
The CQ bit was checked by jchaffraix@chromium.org
6 years, 5 months ago (2014-07-24 18:04:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jchaffraix@chromium.org/420483002/140001
6 years, 5 months ago (2014-07-24 18:06:24 UTC) #6
commit-bot: I haz the power
6 years, 5 months ago (2014-07-24 18:08:53 UTC) #7
Message was sent while issue was closed.
Change committed as 178857

Powered by Google App Engine
This is Rietveld 408576698