<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>187940</bug_id>
          
          <creation_ts>2018-07-23 23:18:21 -0700</creation_ts>
          <short_desc>Cannot use drag and drop API with custom elements</short_desc>
          <delta_ts>2018-09-20 22:43:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>UI Events</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>136836</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>148695</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Horton">thorton</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bdakin</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1444551</commentid>
    <comment_count>0</comment_count>
      <attachid>345636</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2018-07-23 23:18:21 -0700</bug_when>
    <thetext>Created attachment 345636
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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1444554</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2018-07-23 23:24:28 -0700</bug_when>
    <thetext>dragStart does get called...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1444692</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-07-24 08:37:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/42542400&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446786</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2018-07-31 19:14:13 -0700</bug_when>
    <thetext>Oh, this is an issue with shadow DOM, not custom elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1461736</commentid>
    <comment_count>4</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2018-09-20 22:43:48 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 136836 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>345636</attachid>
            <date>2018-07-23 23:18:21 -0700</date>
            <delta_ts>2018-07-23 23:18:21 -0700</delta_ts>
            <desc>repro</desc>
            <filename>drag.html</filename>
            <type>text/html</type>
            <size>934</size>
            <attacher name="Tim Horton">thorton</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KICAgIDxzY3JpcHQ+CgpjbGFzcyBEcmFnZ2Fi
bGVUaGluZ3kgZXh0ZW5kcyBIVE1MRWxlbWVudCB7CiAgICBjb25zdHJ1Y3RvcigpIHsKICAgICAg
ICBzdXBlcigpOwoKICAgICAgICB0aGlzLl9yb290ID0gdGhpcy5hdHRhY2hTaGFkb3coe21vZGU6
ICdjbG9zZWQnfSk7CiAgICAgICAgdGhpcy5fcm9vdC5pbm5lckhUTUwgPSBgCiAgICAgICAgPHN0
eWxlPgogICAgICAgICNhIHsKICAgIC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