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

Issue 2842483002: Set relatedtarget for dragleave/enter events (Closed)

Created:
3 years, 8 months ago by Navid Zolghadr
Modified:
3 years, 7 months ago
Reviewers:
dtapuska, chongz, lanwei
CC:
chromium-reviews, blink-reviews, dtapuska+blinkwatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Set relatedtarget for dragleave/enter events Chrome use to set the relatedTarget of boundary drag events to null. This is not what the spec says and developers expect. This CL fix this by setting the relatedTarget to the element that the pointer just left/entered (based on the event). BUG=159534 Review-Url: https://codereview.chromium.org/2842483002 Cr-Commit-Position: refs/heads/master@{#471843} Committed: https://chromium.googlesource.com/chromium/src/+/611466a4430557a67478d236ac57dc649b6eee99

Patch Set 1 #

Patch Set 2 : Fix a typo #

Patch Set 3 : Fix dragover problem #

Patch Set 4 : Add test and link to the spec #

Patch Set 5 : Fix test title #

Total comments: 5

Patch Set 6 : Add event sender input automation #

Messages

Total messages: 45 (31 generated)
Navid Zolghadr
3 years, 8 months ago (2017-04-24 19:47:29 UTC) #13
dtapuska
On 2017/04/24 19:47:29, Navid Zolghadr wrote: Can you reference the spec in the CL? Tests?
3 years, 8 months ago (2017-04-24 19:51:52 UTC) #14
Navid Zolghadr
On 2017/04/24 19:51:52, dtapuska wrote: > On 2017/04/24 19:47:29, Navid Zolghadr wrote: > > Can ...
3 years, 8 months ago (2017-04-24 19:55:07 UTC) #15
Navid Zolghadr
ptal
3 years, 8 months ago (2017-04-25 19:30:22 UTC) #22
dtapuska
https://codereview.chromium.org/2842483002/diff/80001/third_party/WebKit/LayoutTests/external/wpt/html/editing/dnd/events/relatedTarget-attribute-manual.html File third_party/WebKit/LayoutTests/external/wpt/html/editing/dnd/events/relatedTarget-attribute-manual.html (right): https://codereview.chromium.org/2842483002/diff/80001/third_party/WebKit/LayoutTests/external/wpt/html/editing/dnd/events/relatedTarget-attribute-manual.html#newcode20 third_party/WebKit/LayoutTests/external/wpt/html/editing/dnd/events/relatedTarget-attribute-manual.html:20: //var drag_test = async_test("dragenter and dragleave are correctly fired."); ...
3 years, 8 months ago (2017-04-25 19:46:06 UTC) #23
lanwei
https://codereview.chromium.org/2842483002/diff/80001/third_party/WebKit/LayoutTests/external/wpt_automation/html/editing/dnd/events/relatedTarget-attribute-manual-automation.js File third_party/WebKit/LayoutTests/external/wpt_automation/html/editing/dnd/events/relatedTarget-attribute-manual-automation.js (right): https://codereview.chromium.org/2842483002/diff/80001/third_party/WebKit/LayoutTests/external/wpt_automation/html/editing/dnd/events/relatedTarget-attribute-manual-automation.js#newcode4 third_party/WebKit/LayoutTests/external/wpt_automation/html/editing/dnd/events/relatedTarget-attribute-manual-automation.js:4: return mouseDragInTargets(['#draggable', '#outerdiv', '#innerdiv', '#outerdiv']); I looked at the ...
3 years, 7 months ago (2017-05-05 20:27:52 UTC) #27
Navid Zolghadr
Adding chongz@ regarding the result of DnD investigation in GPU benchmarking extension. https://codereview.chromium.org/2842483002/diff/80001/third_party/WebKit/LayoutTests/external/wpt/html/editing/dnd/events/relatedTarget-attribute-manual.html File third_party/WebKit/LayoutTests/external/wpt/html/editing/dnd/events/relatedTarget-attribute-manual.html ...
3 years, 7 months ago (2017-05-05 23:33:17 UTC) #29
Navid Zolghadr
ptal. I added the event sender automation for drag and drop. Chong, you might be ...
3 years, 7 months ago (2017-05-09 19:54:05 UTC) #32
chongz
On 2017/05/09 19:54:05, Navid Zolghadr wrote: > ptal. I added the event sender automation for ...
3 years, 7 months ago (2017-05-09 20:26:12 UTC) #35
dtapuska
On 2017/05/09 20:26:12, chongz wrote: > On 2017/05/09 19:54:05, Navid Zolghadr wrote: > > ptal. ...
3 years, 7 months ago (2017-05-11 15:45:36 UTC) #36
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/2842483002/100001
3 years, 7 months ago (2017-05-11 15:49:02 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/451861)
3 years, 7 months ago (2017-05-11 17:35:05 UTC) #40
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/2842483002/100001
3 years, 7 months ago (2017-05-15 17:01:19 UTC) #42
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 18:39:43 UTC) #45
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/611466a4430557a67478d236ac57...

Powered by Google App Engine
This is Rietveld 408576698