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

Issue 2000423009: Correctly position abspos content inside relpos inlines [spv2] (Closed)

Created:
4 years, 6 months ago by pdr.
Modified:
4 years, 6 months ago
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Correctly position abspos content inside relpos inlines [spv2] This patch fixes a class of bugs where absolutely positioned content in a relative inline container would be positioned relative to the origin instead of relative to the inline. This largely mirrors the logic in PaintLayer::updateLayerPosition which used LayoutInline::offsetForInFlowPositionedInline to position PaintLayers. BUG=614257 Committed: https://crrev.com/0079320b1c8fdad99ef3cb31b92ef09da6ecd2e0 Cr-Commit-Position: refs/heads/master@{#396324}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use offsetForInFlowPositionedInline #

Total comments: 1

Patch Set 3 : Less indentation is more #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 1 chunk +14 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/VirtualTestSuites View 1 1 chunk +5 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/virtual/spv2/fast/css/README.txt View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 6 chunks +17 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2000423009/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2000423009/1
4 years, 6 months ago (2016-05-26 05:38:21 UTC) #3
pdr.
I'd like to split this fix into two patches because the special-case logic will be ...
4 years, 6 months ago (2016-05-26 05:53:19 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/228620)
4 years, 6 months ago (2016-05-26 10:09:08 UTC) #7
trchen
lgtm. However I'm not that familiar with block-direction flipping that kind of stuff. +cc xianzhu ...
4 years, 6 months ago (2016-05-26 17:51:51 UTC) #9
chrishtr
Stefan could you also look?
4 years, 6 months ago (2016-05-26 17:53:26 UTC) #11
Xianzhu
https://codereview.chromium.org/2000423009/diff/1/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2000423009/diff/1/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode350 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:350: } It's better to use the same algorithm as ...
4 years, 6 months ago (2016-05-26 18:02:27 UTC) #12
pdr.
Thanks for the reviews, PTAL. On 2016/05/26 at 18:02:27, wangxianzhu wrote: > https://codereview.chromium.org/2000423009/diff/1/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp > File ...
4 years, 6 months ago (2016-05-26 21:30:30 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2000423009/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2000423009/20001
4 years, 6 months ago (2016-05-26 21:31:57 UTC) #16
Xianzhu
lgtm https://codereview.chromium.org/2000423009/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2000423009/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode388 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:388: { Nit: by putting '{' at the end ...
4 years, 6 months ago (2016-05-26 21:40:55 UTC) #17
pdr.
On 2016/05/26 at 21:40:55, wangxianzhu wrote: > lgtm > > https://codereview.chromium.org/2000423009/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp > File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): ...
4 years, 6 months ago (2016-05-26 21:45:51 UTC) #18
commit-bot: I haz the power
Dry run: None
4 years, 6 months ago (2016-05-26 21:45:53 UTC) #19
pdr.
@trchen, could you take another look too?
4 years, 6 months ago (2016-05-26 21:47:23 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2000423009/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2000423009/40001
4 years, 6 months ago (2016-05-26 21:48:47 UTC) #22
szager1
lgtm
4 years, 6 months ago (2016-05-26 22:33:24 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2000423009/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2000423009/40001
4 years, 6 months ago (2016-05-26 23:47:47 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-05-27 00:07:05 UTC) #28
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 00:08:50 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0079320b1c8fdad99ef3cb31b92ef09da6ecd2e0
Cr-Commit-Position: refs/heads/master@{#396324}

Powered by Google App Engine
This is Rietveld 408576698