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

Issue 2250713002: Handle auto-positioned out-of-flow objects inside multicol containers correctly. (Closed)

Created:
4 years, 4 months ago by mstensho (USE GERRIT)
Modified:
4 years, 4 months ago
Reviewers:
eae
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews, mstensho (USE GERRIT)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle auto-positioned out-of-flow objects inside multicol containers correctly. We used to get it all wrong for out-of-flow children of multicol containers whose containing block were on the outside of the multicol container. Those do not live in the flow thread coordinate space, so we have to convert their location to visual coordinates. BUG=291616 Committed: https://crrev.com/57b66b0901dfcd97ed669a3635c55fbb6cc01fc9 Cr-Commit-Position: refs/heads/master@{#412375}

Patch Set 1 #

Total comments: 4

Patch Set 2 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -8 lines) Patch
A third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/abspos-auto-left-right.html View 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/abspos-auto-left-right-expected.html View 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/abspos-auto-position.html View 1 chunk +7 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/abspos-auto-position-expected.html View 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/abspos-auto-position-on-line.html View 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/abspos-auto-position-on-line-expected.html View 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/abspos-auto-position-on-line-rtl.html View 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/abspos-auto-position-on-line-rtl-expected.html View 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/abspos-auto-top-bottom.html View 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/abspos-auto-top-bottom-expected.html View 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/nested-multicol.html View 1 chunk +20 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/nested-multicol-expected.html View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/offset-properties.html View 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/vertical-lr/abspos-auto-position-on-line.html View 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/vertical-lr/abspos-auto-position-on-line-expected.html View 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/vertical-rl/abspos-auto-position-on-line.html View 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/vertical-rl/abspos-auto-position-on-line-expected.html View 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 4 chunks +40 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFlowThread.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp View 1 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
mstensho (USE GERRIT)
4 years, 4 months ago (2016-08-16 18:19:13 UTC) #6
mstensho (USE GERRIT)
4 years, 4 months ago (2016-08-16 18:19:42 UTC) #7
eae
https://codereview.chromium.org/2250713002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2250713002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode3604 third_party/WebKit/Source/core/layout/LayoutBox.cpp:3604: LayoutBox& box = *toLayoutBox(curr); const? https://codereview.chromium.org/2250713002/diff/1/third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp File third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp (right): ...
4 years, 4 months ago (2016-08-16 18:23:45 UTC) #8
mstensho (USE GERRIT)
https://codereview.chromium.org/2250713002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2250713002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode3604 third_party/WebKit/Source/core/layout/LayoutBox.cpp:3604: LayoutBox& box = *toLayoutBox(curr); On 2016/08/16 18:23:45, eae wrote: ...
4 years, 4 months ago (2016-08-16 18:55:27 UTC) #9
eae
Thanks, that's a bit clearer! LGTM
4 years, 4 months ago (2016-08-16 19:26:00 UTC) #10
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/2250713002/20001
4 years, 4 months ago (2016-08-16 19:52:49 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/247531)
4 years, 4 months ago (2016-08-16 19:59:21 UTC) #14
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/2250713002/20001
4 years, 4 months ago (2016-08-16 20:46:15 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-16 23:35:34 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 23:37:32 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/57b66b0901dfcd97ed669a3635c55fbb6cc01fc9
Cr-Commit-Position: refs/heads/master@{#412375}

Powered by Google App Engine
This is Rietveld 408576698