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

Issue 2767133003: Fix position of layer with floating ancestor within inline parent layer (Closed)

Created:
3 years, 9 months ago by Xianzhu
Modified:
3 years, 9 months ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/branch-heads/2987
Project:
chromium
Visibility:
Public.

Description

Fix position of layer with floating ancestor within inline parent layer <span style="position: relative"> ... <div style="float: left"> ... <target layer> ... </div> ... </span> Because of the floating ancestor, the containing layer of target layer is not the span, but the layer found in the containing block chain. BUG=703666, 703481 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 NOPRESUBMIT=true NOTRY=true R=chrishtr Review-Url: https://codereview.chromium.org/2761413002 Cr-Original-Commit-Position: refs/heads/master@{#458857} Review-Url: https://codereview.chromium.org/2767133003 Cr-Commit-Position: refs/branch-heads/2987@{#865} Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943} Committed: https://chromium.googlesource.com/chromium/src/+/05de6acd8ec79f95dede0ed751a5be65e8b35c47

Patch Set 1 #

Patch Set 2 : - #

Patch Set 3 : - #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -8 lines) Patch
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 1 chunk +19 lines, -8 lines 2 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerTest.cpp View 1 2 1 chunk +77 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Xianzhu
Because of later refactors, the merge is not straight-forward. Ptal. I've tested with the bug ...
3 years, 9 months ago (2017-03-22 23:10:59 UTC) #2
chrishtr
I assume you also tested the sites? Do the layout tests pass? https://codereview.chromium.org/2767133003/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp ...
3 years, 9 months ago (2017-03-22 23:23:33 UTC) #3
Xianzhu
https://codereview.chromium.org/2767133003/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): https://codereview.chromium.org/2767133003/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode924 third_party/WebKit/Source/core/paint/PaintLayer.cpp:924: if (!isSelfPaintingLayer() && m_layoutObject->isFloating() && On 2017/03/22 23:23:33, chrishtr ...
3 years, 9 months ago (2017-03-22 23:25:17 UTC) #4
chrishtr
On 2017/03/22 at 23:25:17, wangxianzhu wrote: > https://codereview.chromium.org/2767133003/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.cpp > File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): > > https://codereview.chromium.org/2767133003/diff/40001/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode924 ...
3 years, 9 months ago (2017-03-22 23:27:22 UTC) #5
Xianzhu
On 2017/03/22 23:27:22, chrishtr wrote: > On 2017/03/22 at 23:25:17, wangxianzhu wrote: > > > ...
3 years, 9 months ago (2017-03-22 23:39:43 UTC) #6
chrishtr
lgtm
3 years, 9 months ago (2017-03-22 23:42:36 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/2767133003/40001
3 years, 9 months ago (2017-03-22 23:45:11 UTC) #10
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 23:49:44 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/05de6acd8ec79f95dede0ed751a5...

Powered by Google App Engine
This is Rietveld 408576698