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

Issue 256743006: [New Multicolumn] Make offsetLeft, offsetTop and getClientRects() behave. (Closed)

Created:
6 years, 7 months ago by mstensho (USE GERRIT)
Modified:
6 years, 7 months ago
Reviewers:
ojan
CC:
blink-reviews, mstensho+blink_opera.com, blink-reviews-rendering, chromiumbugtracker_adobe.com, zoltan1, dsinclair, bemjb+rendering_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., ojan, rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[New Multicolumn] Make offsetLeft, offsetTop and getClientRects() behave. Get rid of mapFromFlowToRegion() and mapLocalToContainer() in RenderFlowThread, and reimplement columnOffset() in RenderMultiColumnFlowThread instead. This method is already used a lot in the engine, but it has up until now only worked with the old multicol implementation. Need to add a call from RenderBox::offsetFromContainer(), since the one that's already there is for old multicol only and does special stuff. This incidentally also gets rid of assertion failures in RenderGeometryMap when compositing is turned on (what used to be in RenderFlowThread::mapLocalToContainer() did the wrong thing if the target was that flow thread itself). Re-enable tests that used to fail on that assertion. BUG=367688, 364960 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172961

Patch Set 1 #

Patch Set 2 : Rebase master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -53 lines) Patch
M LayoutTests/TestExpectations View 1 1 chunk +0 lines, -5 lines 0 comments Download
A LayoutTests/fast/multicol/cssom-view.html View 1 chunk +50 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/cssom-view-expected.txt View 1 chunk +37 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/inline-getclientrects.html View 1 chunk +36 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/inline-getclientrects-expected.txt View 1 chunk +19 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/client-rects.html View 1 chunk +5 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/client-rects-expected.html View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/resources/js-test.js View 1 chunk +21 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBlock.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBox.cpp View 2 chunks +11 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderFlowThread.h View 2 chunks +0 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderFlowThread.cpp View 2 chunks +0 lines, -39 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnFlowThread.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnFlowThread.cpp View 1 chunk +14 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnSet.h View 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnSet.cpp View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
mstensho (USE GERRIT)
6 years, 7 months ago (2014-04-29 07:14:22 UTC) #1
ojan
lgtm
6 years, 7 months ago (2014-04-30 02:13:13 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mstensho@opera.com/256743006/1
6 years, 7 months ago (2014-04-30 02:13:50 UTC) #3
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 02:14:04 UTC) #4
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, 7 months ago (2014-04-30 02:14:05 UTC) #5
mstensho (USE GERRIT)
Rebase master
6 years, 7 months ago (2014-04-30 07:15:49 UTC) #6
mstensho (USE GERRIT)
The CQ bit was checked by mstensho@opera.com
6 years, 7 months ago (2014-04-30 07:16:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mstensho@opera.com/256743006/20001
6 years, 7 months ago (2014-04-30 07:17:13 UTC) #8
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 08:26:08 UTC) #9
Message was sent while issue was closed.
Change committed as 172961

Powered by Google App Engine
This is Rietveld 408576698