Bug 187940 - Cannot use drag and drop API with custom elements
Summary: Cannot use drag and drop API with custom elements
Status: RESOLVED DUPLICATE of bug 136836
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Blocks: 148695
  Show dependency treegraph
Reported: 2018-07-23 23:18 PDT by Tim Horton
Modified: 2018-09-20 22:43 PDT (History)
6 users (show)

See Also:

repro (934 bytes, text/html)
2018-07-23 23:18 PDT, Tim Horton
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2018-07-23 23:18:21 PDT
Created attachment 345636 [details]

See attached repro case. I cannot find a way to make a custom element that successfully drags using draggable=true/ondragstart. The equivalent content not inside a custom element shadow DOM works fine.
Comment 1 Tim Horton 2018-07-23 23:24:28 PDT
dragStart does get called...
Comment 2 Radar WebKit Bug Importer 2018-07-24 08:37:18 PDT
Comment 3 Ryosuke Niwa 2018-07-31 19:14:13 PDT
Oh, this is an issue with shadow DOM, not custom elements.
Comment 4 Ryosuke Niwa 2018-09-20 22:43:48 PDT

*** This bug has been marked as a duplicate of bug 136836 ***