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

Issue 278293002: [Regression] Fix Draggable is float:left and container is overflow:hidden (Closed)

Created:
6 years, 7 months ago by spartha
Modified:
6 years, 6 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[Regression] Fix Draggable is float:left and container is overflow:hidden The change from https://chromiumcodereview.appspot.com/23537039 is reverted (the cause for the regression). This patch also fixes the original issue 23537039 tried to address. If the target element was a descendant of an inline-block the PaintInfo::shouldPaintWithinRoot did an early return from the paint call on inlineFlowBox. We let the paint call go through by clearing the paintRoot, on the basis that the inlineFlowBoxes will be intersecting the paint rect. BUG=341089, 101204 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176613

Patch Set 1 #

Patch Set 2 : #

Total comments: 11

Patch Set 3 : Addressed Review Comments + Unit Tests #

Total comments: 2

Patch Set 4 : Review Comments addressed #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -58 lines) Patch
D ManualTests/drag-inline-block.html View 1 chunk +0 lines, -35 lines 0 comments Download
A + ManualTests/drag-should-draw-target.html View 2 chunks +12 lines, -1 line 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/rendering/InlineFlowBox.cpp View 1 2 3 4 1 chunk +8 lines, -3 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 4 1 chunk +32 lines, -17 lines 0 comments Download
M Source/web/tests/data/nodeimage.html View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
spartha
PTAL
6 years, 7 months ago (2014-05-12 10:12:12 UTC) #1
spartha
On 2014/05/12 10:12:12, spartha wrote: > PTAL Need reviews please!!
6 years, 7 months ago (2014-05-20 05:11:44 UTC) #2
esprehn
This doesn't look right, why only clear the first one you encounter? Also you need ...
6 years, 7 months ago (2014-05-20 05:56:15 UTC) #3
esprehn
This doesn't look right, why only clear the first one you encounter? Also you need ...
6 years, 7 months ago (2014-05-20 05:56:15 UTC) #4
esprehn
I think jchaffraix@ is your best bet for a reviewer of this stuff.
6 years, 7 months ago (2014-05-20 05:56:42 UTC) #5
spartha
https://codereview.chromium.org/278293002/diff/90001/Source/core/rendering/InlineFlowBox.cpp File Source/core/rendering/InlineFlowBox.cpp (right): https://codereview.chromium.org/278293002/diff/90001/Source/core/rendering/InlineFlowBox.cpp#newcode1151 Source/core/rendering/InlineFlowBox.cpp:1151: bool paintingRootCleared = !childInfo.paintingRoot; On 2014/05/20 05:56:15, esprehn wrote: ...
6 years, 7 months ago (2014-05-20 09:24:10 UTC) #6
Julien - ping for review
It seems to me that the whole logic of going to the enclosing layer is ...
6 years, 7 months ago (2014-05-22 09:26:03 UTC) #7
spartha
https://codereview.chromium.org/278293002/diff/90001/Source/core/rendering/InlineFlowBox.cpp File Source/core/rendering/InlineFlowBox.cpp (right): https://codereview.chromium.org/278293002/diff/90001/Source/core/rendering/InlineFlowBox.cpp#newcode1150 Source/core/rendering/InlineFlowBox.cpp:1150: childInfo.updatePaintingRootForChildren(&renderer()); On 2014/05/22 09:26:03, Julien Chaffraix - CET wrote: ...
6 years, 7 months ago (2014-05-22 12:24:15 UTC) #8
spartha
Patch updated. PTAL
6 years, 7 months ago (2014-05-28 08:43:29 UTC) #9
eseidel
jchaffraix, esprehn: ptal?
6 years, 6 months ago (2014-05-28 22:39:04 UTC) #10
Julien - ping for review
LGTM, you've convinced me that it's not too terrible. https://codereview.chromium.org/278293002/diff/90001/Source/core/rendering/InlineFlowBox.cpp File Source/core/rendering/InlineFlowBox.cpp (right): https://codereview.chromium.org/278293002/diff/90001/Source/core/rendering/InlineFlowBox.cpp#newcode1150 Source/core/rendering/InlineFlowBox.cpp:1150: ...
6 years, 6 months ago (2014-06-05 22:01:35 UTC) #11
spartha
Thanks! https://codereview.chromium.org/278293002/diff/130001/Source/web/tests/WebFrameTest.cpp File Source/web/tests/WebFrameTest.cpp (right): https://codereview.chromium.org/278293002/diff/130001/Source/web/tests/WebFrameTest.cpp#newcode5471 Source/web/tests/WebFrameTest.cpp:5471: // Sub Test 2 On 2014/06/05 22:01:35, Julien ...
6 years, 6 months ago (2014-06-09 09:50:57 UTC) #12
spartha
The CQ bit was checked by sudarshan.p@samsung.com
6 years, 6 months ago (2014-06-09 09:51:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sudarshan.p@samsung.com/278293002/170001
6 years, 6 months ago (2014-06-09 09:52:55 UTC) #14
spartha
The CQ bit was unchecked by sudarshan.p@samsung.com
6 years, 6 months ago (2014-06-09 10:01:45 UTC) #15
spartha
On 2014/06/09 10:01:45, spartha wrote: > The CQ bit was unchecked by mailto:sudarshan.p@samsung.com @esprehn, need ...
6 years, 6 months ago (2014-06-09 10:02:38 UTC) #16
spartha
On 2014/06/09 10:02:38, spartha wrote: > On 2014/06/09 10:01:45, spartha wrote: > > The CQ ...
6 years, 6 months ago (2014-06-13 10:13:58 UTC) #17
spartha
On 2014/06/13 10:13:58, spartha wrote: > On 2014/06/09 10:02:38, spartha wrote: > > On 2014/06/09 ...
6 years, 6 months ago (2014-06-18 12:41:14 UTC) #18
tkent
web/ lgtm.
6 years, 6 months ago (2014-06-20 05:01:49 UTC) #19
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 6 months ago (2014-06-20 05:01:52 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sudarshan.p@samsung.com/278293002/170001
6 years, 6 months ago (2014-06-20 05:02:55 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-20 05:06:13 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 05:09:06 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_chromium_gn_rel/builds/1054)
6 years, 6 months ago (2014-06-20 05:09:07 UTC) #24
spartha
The CQ bit was checked by sudarshan.p@samsung.com
6 years, 6 months ago (2014-06-20 09:52:02 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sudarshan.p@samsung.com/278293002/190001
6 years, 6 months ago (2014-06-20 09:52:19 UTC) #26
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-20 11:13:54 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 12:10:35 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/19782)
6 years, 6 months ago (2014-06-20 12:10:36 UTC) #29
spartha
The CQ bit was checked by sudarshan.p@samsung.com
6 years, 6 months ago (2014-06-20 13:55:40 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sudarshan.p@samsung.com/278293002/190001
6 years, 6 months ago (2014-06-20 13:56:37 UTC) #31
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-20 14:31:24 UTC) #32
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 14:49:13 UTC) #33
Message was sent while issue was closed.
Change committed as 176613

Powered by Google App Engine
This is Rietveld 408576698