HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/5658

File a bug

SVNBugCommentTime (UTC)
565810712[Gecko] [Internet Explorer] [Opera] [Webkit] dropzone 5/5, part 1: skeleton of dropzone='' section; update DND processing model; enumerate where sections that need updating.2010-10-29 23:39
Index: source
===================================================================
--- source	(revision 5657)
+++ source	(revision 5658)
@@ -76784,8 +76784,16 @@
          <dd><p>Set the <span>current target element</span> to the
          <span>immediate user selection</span> anyway.</p></dd>
 
-<!-- dropzone -->
 
+         <dt>If the <span>current target element</span> is an element
+         with a <code title="attr-dropzone">dropzone</code> attribute
+         that <span title="concept-dropzone-match">matches</span> the
+         <span>drag data store</span></dt>
+
+         <dd><p>Set the <span>current target element</span> to the
+         <span>immediate user selection</span> anyway.</p></dd>
+
+
          <dt>If the <span>current target element</span> is
          <span>the body element</span></dt>
 
@@ -76855,8 +76863,21 @@
        "<code title="">copy</code>" or "<code title="">move</code>",
        as appropriate given the platform conventions.</p></dd>
 
-<!--dropzone-->
 
+       <dt>If the <span>current target element</span> is an element
+       with a <code title="attr-dropzone">dropzone</code> attribute
+       that <span title="concept-dropzone-match">matches</span> the
+       <span>drag data store</span> and <span
+       title="concept-dropzone-operation">specifies an
+       operation</span></dt>
+
+       <dd><p>Set the <span>current drag operation</span> to the
+       operation <span
+       title="concept-dropzone-operation">specified</span> by the
+       <code title="attr-dropzone">dropzone</code> attribute of the
+       <span>current target element</span>.</p>
+
+
        <dt>Otherwise</dt>
 
        <dd><p>Reset the <span>current drag operation</span> to "<code
@@ -77300,12 +77321,34 @@
   </div>
 
 
-<!--
-XXX DND WIP plan:
- 5. add dropzone="..." feature
--->
+  <h4>The <dfn title="attr-dropzone"><code>dropzone</code></dfn> attribute</h4>
 
+  <p>All <span>HTML elements</span> may have the <code
+  title="attr-dropzone">dropzone</code> content attribute set. <span
+  class="XXX">unordered set of unique space-separated tokens</span>,
+  <span>ASCII case-insensitive</span></p>
 
+  <p class="XXX">A <code title="attr-dropzone">dropzone</code>
+  attribute <dfn title="concept-dropzone-match">matches a <span>drag
+  data store</span></dfn> if...</p>
+
+  <p class="XXX">A <code title="attr-dropzone">dropzone</code>
+  attribute <dfn title="concept-dropzone-operation">specifies an
+  operation</dfn> if... The specified operation is...</p>
+
+  <p>The <dfn title="dom-dropzone"><code>dropzone</code></dfn>
+  attribute must <span>reflect</span> the content attribute of the
+  same name.</p>
+
+  <!-- XXX dropzone add to:
+    HTMLElement IDL
+    Global Attributes list
+    List of focusable elements, with caveat
+    DND introduction
+    Attribute index
+  -->
+
+
 <!--
   <h4>Copy and paste</h4>
 

|