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

Issue 625903004: [New Multicolumn] Correct paint rectangle calculation for compositing. (Closed)

Created:
6 years, 2 months ago by mstensho (USE GERRIT)
Modified:
6 years, 2 months ago
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rune+blink, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[New Multicolumn] Correct paint rectangle calculation for compositing. This allows for enabling composited layers inside flow threads, since it's not completely broken anymore. BUG=359877 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183437

Patch Set 1 #

Total comments: 5

Patch Set 2 : code review #

Patch Set 3 : Change the test so that the composited layers actually overlap. #

Total comments: 4

Patch Set 4 : Remove hack from RenderLayer::location() for new multicol #

Patch Set 5 : Got mislead by incorrect documentation. The paint rectangle is visual, not in flow thread coordinat… #

Total comments: 2

Patch Set 6 : code review. Have RenderLayer::location() behave like before for old multicol. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -17 lines) Patch
A LayoutTests/fast/multicol/composited-relpos-2nd-column.html View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/composited-relpos-2nd-column-expected.html View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/composited-relpos-simple.html View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/composited-relpos-simple-expected.html View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderFlowThread.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 3 4 5 2 chunks +17 lines, -9 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnSet.cpp View 1 2 3 4 1 chunk +7 lines, -5 lines 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.cpp View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 25 (7 generated)
mstensho (USE GERRIT)
6 years, 2 months ago (2014-10-03 14:15:17 UTC) #2
Julien - ping for review
https://codereview.chromium.org/625903004/diff/1/LayoutTests/fast/multicol/composited-relpos-simple.html File LayoutTests/fast/multicol/composited-relpos-simple.html (right): https://codereview.chromium.org/625903004/diff/1/LayoutTests/fast/multicol/composited-relpos-simple.html#newcode3 LayoutTests/fast/multicol/composited-relpos-simple.html:3: <div style="transform:translateZ(0); width:3em; height:3em; background:yellow;"></div> In this test, the ...
6 years, 2 months ago (2014-10-03 17:50:21 UTC) #3
mstensho (USE GERRIT)
https://codereview.chromium.org/625903004/diff/1/LayoutTests/fast/multicol/composited-relpos-simple.html File LayoutTests/fast/multicol/composited-relpos-simple.html (right): https://codereview.chromium.org/625903004/diff/1/LayoutTests/fast/multicol/composited-relpos-simple.html#newcode3 LayoutTests/fast/multicol/composited-relpos-simple.html:3: <div style="transform:translateZ(0); width:3em; height:3em; background:yellow;"></div> On 2014/10/03 17:50:21, Julien ...
6 years, 2 months ago (2014-10-03 18:51:40 UTC) #4
mstensho (USE GERRIT)
https://codereview.chromium.org/625903004/diff/1/LayoutTests/fast/multicol/composited-relpos-simple.html File LayoutTests/fast/multicol/composited-relpos-simple.html (right): https://codereview.chromium.org/625903004/diff/1/LayoutTests/fast/multicol/composited-relpos-simple.html#newcode10 LayoutTests/fast/multicol/composited-relpos-simple.html:10: <div style="position:relative; margin:10px; background:yellow;">PASS</div> The reason why this one ...
6 years, 2 months ago (2014-10-06 12:39:49 UTC) #5
mstensho (USE GERRIT)
https://codereview.chromium.org/625903004/diff/40001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/625903004/diff/40001/Source/core/rendering/RenderLayer.cpp#newcode1497 Source/core/rendering/RenderLayer.cpp:1497: rootLayer->convertToLayerCoords(enclosingPaginationLayer(), offsetOfPaginationLayerFromRoot); This isn't really going to work right ...
6 years, 2 months ago (2014-10-06 14:52:59 UTC) #6
mstensho (USE GERRIT)
https://codereview.chromium.org/625903004/diff/40001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/625903004/diff/40001/Source/core/rendering/RenderLayer.cpp#newcode1497 Source/core/rendering/RenderLayer.cpp:1497: rootLayer->convertToLayerCoords(enclosingPaginationLayer(), offsetOfPaginationLayerFromRoot); On 2014/10/06 14:52:58, mstensho wrote: > This ...
6 years, 2 months ago (2014-10-06 14:55:23 UTC) #7
Julien - ping for review
lgtm https://codereview.chromium.org/625903004/diff/40001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/625903004/diff/40001/Source/core/rendering/RenderLayer.cpp#newcode1497 Source/core/rendering/RenderLayer.cpp:1497: rootLayer->convertToLayerCoords(enclosingPaginationLayer(), offsetOfPaginationLayerFromRoot); On 2014/10/06 14:55:22, mstensho wrote: > ...
6 years, 2 months ago (2014-10-06 22:12:32 UTC) #8
mstensho (USE GERRIT)
@Julien, could you please take another look? Thanks to incorrect documentation (some of it even ...
6 years, 2 months ago (2014-10-07 14:55:35 UTC) #9
andersr
https://codereview.chromium.org/625903004/diff/80001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (left): https://codereview.chromium.org/625903004/diff/80001/Source/core/rendering/RenderLayer.cpp#oldcode828 Source/core/rendering/RenderLayer.cpp:828: localPoint += parent()->renderer()->columnOffset(localPoint); Composited RenderLayers now render at flow-thread ...
6 years, 2 months ago (2014-10-07 15:51:21 UTC) #11
mstensho (USE GERRIT)
https://codereview.chromium.org/625903004/diff/80001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (left): https://codereview.chromium.org/625903004/diff/80001/Source/core/rendering/RenderLayer.cpp#oldcode828 Source/core/rendering/RenderLayer.cpp:828: localPoint += parent()->renderer()->columnOffset(localPoint); On 2014/10/07 15:51:21, andersr wrote: > ...
6 years, 2 months ago (2014-10-07 16:35:59 UTC) #12
mstensho (USE GERRIT)
I'll just land this. It blocks all my compositing work.
6 years, 2 months ago (2014-10-08 20:58:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/625903004/100001
6 years, 2 months ago (2014-10-08 20:59:06 UTC) #15
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 2 months ago (2014-10-09 02:13:16 UTC) #17
pdr.
On 2014/10/09 at 02:13:16, commit-bot wrote: > Exceeded time limit waiting for builds to trigger. ...
6 years, 2 months ago (2014-10-09 02:16:20 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/625903004/100001
6 years, 2 months ago (2014-10-09 02:19:47 UTC) #20
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 2 months ago (2014-10-09 04:26:07 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/625903004/100001
6 years, 2 months ago (2014-10-09 05:44:53 UTC) #24
commit-bot: I haz the power
6 years, 2 months ago (2014-10-09 06:32:13 UTC) #25
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as 183437

Powered by Google App Engine
This is Rietveld 408576698