Bug 187940

Summary: Cannot use drag and drop API with custom elements
Product: WebKit Reporter: Tim Horton <thorton>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, bdakin, rniwa, simon.fraser, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 148695    
Attachments:
Description Flags
repro none

Description Tim Horton 2018-07-23 23:18:21 PDT
Created attachment 345636 [details]
repro

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
<rdar://problem/42542400>
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 ***