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

Issue 286903011: Show DragImage when the dragged element or its parent has transform (Closed)

Created:
6 years, 7 months ago by spartha
Modified:
6 years, 6 months ago
CC:
blink-reviews, blink-reviews-events_chromium.org, blink-reviews-rendering, dglazkov+blink, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, spartha80_gmail.com, tkent, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Show DragImage when the dragged element or its parent has transform The DragEvent was ignoring the trasnform for the drag point, causing the dragimage to be drawn at an incorrect location on the canvas. The patch corrects this. BUG=322201 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175567

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : Rebase #

Total comments: 2

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Total comments: 4

Patch Set 7 : Updated #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -4 lines) Patch
M Source/core/page/EventHandler.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 4 5 6 7 3 chunks +48 lines, -0 lines 0 comments Download
A Source/web/tests/data/nodeimage.html View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
spartha
I am not sure if we can add testcases other than Manual Tests. Older patches ...
6 years, 7 months ago (2014-05-21 15:29:31 UTC) #1
dcheng
The change looks reasonable to me, but I'm not a rendering expert. As for testing... ...
6 years, 6 months ago (2014-05-27 20:50:36 UTC) #2
esprehn
6 years, 6 months ago (2014-05-27 20:52:09 UTC) #3
esprehn
levi@ or ojan@ are your best reviewers. This seems fine to me, but Ojan has ...
6 years, 6 months ago (2014-05-27 20:52:30 UTC) #4
spartha
On 2014/05/27 20:50:36, dcheng wrote: > The change looks reasonable to me, but I'm not ...
6 years, 6 months ago (2014-05-27 23:06:18 UTC) #5
dcheng
Thanks for adding a test. Overall, this looks reasonable to me but please wait for ...
6 years, 6 months ago (2014-05-28 21:02:58 UTC) #6
spartha
https://codereview.chromium.org/286903011/diff/20001/Source/web/tests/WebFrameTest.cpp File Source/web/tests/WebFrameTest.cpp (right): https://codereview.chromium.org/286903011/diff/20001/Source/web/tests/WebFrameTest.cpp#newcode5468 Source/web/tests/WebFrameTest.cpp:5468: EXPECT_EQ(0, memcmp(bitmap.getPixels(), dragBitmap.getPixels(), bitmap.rowBytes() * 40)); On 2014/05/28 21:02:59, ...
6 years, 6 months ago (2014-05-29 05:55:00 UTC) #7
leviw_travelin_and_unemployed
https://codereview.chromium.org/286903011/diff/60001/Source/web/tests/data/nodeimage.html File Source/web/tests/data/nodeimage.html (right): https://codereview.chromium.org/286903011/diff/60001/Source/web/tests/data/nodeimage.html#newcode5 Source/web/tests/data/nodeimage.html:5: <div style="-webkit-transform:translate(40px,40px)"> You don't need the -webkit prefix. Please ...
6 years, 6 months ago (2014-05-30 18:37:30 UTC) #8
spartha
https://codereview.chromium.org/286903011/diff/60001/Source/web/tests/data/nodeimage.html File Source/web/tests/data/nodeimage.html (right): https://codereview.chromium.org/286903011/diff/60001/Source/web/tests/data/nodeimage.html#newcode5 Source/web/tests/data/nodeimage.html:5: <div style="-webkit-transform:translate(40px,40px)"> On 2014/05/30 18:37:31, leviw wrote: > You ...
6 years, 6 months ago (2014-05-30 21:24:38 UTC) #9
leviw_travelin_and_unemployed
https://codereview.chromium.org/286903011/diff/100001/Source/web/tests/data/nodeimage.html File Source/web/tests/data/nodeimage.html (right): https://codereview.chromium.org/286903011/diff/100001/Source/web/tests/data/nodeimage.html#newcode10 Source/web/tests/data/nodeimage.html:10: <div style="transform:translate(40px,40px) rotate3d(1,0,0,180deg);"> This doesn't actually exercise the 3d ...
6 years, 6 months ago (2014-05-30 21:38:08 UTC) #10
spartha
https://codereview.chromium.org/286903011/diff/100001/Source/web/tests/data/nodeimage.html File Source/web/tests/data/nodeimage.html (right): https://codereview.chromium.org/286903011/diff/100001/Source/web/tests/data/nodeimage.html#newcode10 Source/web/tests/data/nodeimage.html:10: <div style="transform:translate(40px,40px) rotate3d(1,0,0,180deg);"> On 2014/05/30 21:38:08, leviw wrote: > ...
6 years, 6 months ago (2014-06-02 13:05:12 UTC) #11
leviw_travelin_and_unemployed
Thanks! LGTM.
6 years, 6 months ago (2014-06-02 17:38:16 UTC) #12
spartha
The CQ bit was checked by sudarshan.p@samsung.com
6 years, 6 months ago (2014-06-03 04:37:45 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/286903011/120001
6 years, 6 months ago (2014-06-03 04:38:38 UTC) #14
spartha
The CQ bit was unchecked by sudarshan.p@samsung.com
6 years, 6 months ago (2014-06-03 05:38:59 UTC) #15
spartha
On 2014/06/03 04:38:38, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 6 months ago (2014-06-03 05:40:17 UTC) #16
esprehn
lgtm, couple nits that would be nice to fix before landing. https://codereview.chromium.org/286903011/diff/120001/Source/web/tests/WebFrameTest.cpp File Source/web/tests/WebFrameTest.cpp (right): ...
6 years, 6 months ago (2014-06-04 18:13:44 UTC) #17
spartha
https://codereview.chromium.org/286903011/diff/120001/Source/web/tests/WebFrameTest.cpp File Source/web/tests/WebFrameTest.cpp (right): https://codereview.chromium.org/286903011/diff/120001/Source/web/tests/WebFrameTest.cpp#newcode5472 Source/web/tests/WebFrameTest.cpp:5472: { On 2014/06/04 18:13:45, esprehn wrote: > I think ...
6 years, 6 months ago (2014-06-05 07:48:52 UTC) #18
spartha
The CQ bit was checked by sudarshan.p@samsung.com
6 years, 6 months ago (2014-06-05 07:50:51 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sudarshan.p@samsung.com/286903011/160001
6 years, 6 months ago (2014-06-05 07:51:12 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-05 08:52:29 UTC) #21
spartha
The CQ bit was unchecked by sudarshan.p@samsung.com
6 years, 6 months ago (2014-06-05 10:03:32 UTC) #22
spartha
The CQ bit was checked by sudarshan.p@samsung.com
6 years, 6 months ago (2014-06-05 10:09:13 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sudarshan.p@samsung.com/286903011/180001
6 years, 6 months ago (2014-06-05 10:09:57 UTC) #24
spartha
The CQ bit was checked by sudarshan.p@samsung.com
6 years, 6 months ago (2014-06-05 10:20:03 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/286903011/180001
6 years, 6 months ago (2014-06-05 10:20:36 UTC) #26
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-05 11:12:41 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-05 11:15:10 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/7034)
6 years, 6 months ago (2014-06-05 11:15:10 UTC) #29
spartha
The CQ bit was checked by sudarshan.p@samsung.com
6 years, 6 months ago (2014-06-05 12:38:25 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/286903011/180001
6 years, 6 months ago (2014-06-05 12:39:31 UTC) #31
commit-bot: I haz the power
6 years, 6 months ago (2014-06-05 13:00:17 UTC) #32
Message was sent while issue was closed.
Change committed as 175567

Powered by Google App Engine
This is Rietveld 408576698