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

Issue 2738943004: Fix position of composited, paginated inlines. (Closed)

Created:
3 years, 9 months ago by chrishtr
Modified:
3 years, 9 months ago
Reviewers:
trchen
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

Fix position of composited, paginated inlines. Previously, we were not including the offset from the PaintLayer of the composited layer when calling PaintLayer::visualOffsetFromAncestor to compute GraphicsLayer offset from the composited ancestor. It's important to include this offset when converting from logical to visual coordinates across a paginated layer boundary, because the offset influences the fragment offset of the composited layer. BUG=667213 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2738943004 Cr-Commit-Position: refs/heads/master@{#455982} Committed: https://chromium.googlesource.com/chromium/src/+/a1277dcaaae26865cc6591bda0d6d696b5a0f073

Patch Set 1 #

Patch Set 2 : none #

Total comments: 4

Patch Set 3 : none #

Patch Set 4 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -7 lines) Patch
A third_party/WebKit/LayoutTests/paint/pagination/composited-paginated-inline.html View 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/pagination/composited-paginated-inline-expected.html View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 2 3 2 chunks +24 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
chrishtr
3 years, 9 months ago (2017-03-09 01:18:32 UTC) #8
trchen
After a lengthy offline discussion, we discovered that this CL will also change behavior for ...
3 years, 9 months ago (2017-03-09 23:41:16 UTC) #9
chrishtr
https://codereview.chromium.org/2738943004/diff/20001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/2738943004/diff/20001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#newcode809 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:809: const LayoutPoint offsetFromPaintLayer) { On 2017/03/09 at 23:41:16, trchen ...
3 years, 9 months ago (2017-03-10 01:50:04 UTC) #11
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/2738943004/60001
3 years, 9 months ago (2017-03-10 01:50:22 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 03:56:49 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/a1277dcaaae26865cc6591bda0d6...

Powered by Google App Engine
This is Rietveld 408576698