[html5] r5659 - [giow] (0) dropzone 5/5, part 2: flesh out the authoring conformance requirement [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Nov 1 13:24:06 PDT 2010


Author: ianh
Date: 2010-11-01 13:24:05 -0700 (Mon, 01 Nov 2010)
New Revision: 5659

Modified:
   complete.html
   index
   source
Log:
[giow] (0) dropzone 5/5, part 2: flesh out the authoring conformance requirements, ready the skeleton for the UA requirements

Modified: complete.html
===================================================================
--- complete.html	2010-10-29 23:39:51 UTC (rev 5658)
+++ complete.html	2010-11-01 20:24:05 UTC (rev 5659)
@@ -214,7 +214,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Draft Standard — 29 October 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 1 November 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -67415,6 +67415,15 @@
        <a href=#current-target-element>current target element</a>.</p>
 
 
+       <dt>If the <a href=#current-target-element>current target element</a> is an element
+       with a <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code> attribute
+       that <a href=#concept-dropzone-match title=concept-dropzone-match>matches</a> the
+       <a href=#drag-data-store>drag data store</a> and does not <a href=#concept-dropzone-operation title=concept-dropzone-operation>specify an
+       operation</a></dt>
+
+       <dd><p>Set the <a href=#current-drag-operation>current drag operation</a> to "<code title="">copy</code>".</p>
+
+
        <dt>Otherwise</dt>
 
        <dd><p>Reset the <a href=#current-drag-operation>current drag operation</a> to "<code title="">none</code>".</dd>
@@ -67741,18 +67750,116 @@
 
   <h4 id=the-dropzone-attribute><span class=secno>8.7.8 </span>The <dfn title=attr-dropzone><code>dropzone</code></dfn> attribute</h4>
 
-  <p>All <a href=#html-elements>HTML elements</a> may have the <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code> content attribute set. <a class=XXX href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</a>,
-  <a href=#ascii-case-insensitive>ASCII case-insensitive</a></p>
+  <p>All <a href=#html-elements>HTML elements</a> may have the <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code> content attribute set. When
+  specified, its value must be an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique
+  space-separated tokens</a> that are <a href=#ascii-case-insensitive>ASCII
+  case-insensitive</a>. The allowed values are the following:</p>
 
-  <p class=XXX>A <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code>
-  attribute <dfn id=concept-dropzone-match title=concept-dropzone-match>matches a <span>drag
-  data store</span></dfn> if...</p>
+  <dl><dt><dfn id=attr-dropzone-copy title=attr-dropzone-copy><code>copy</code></dfn></dt>
 
-  <p class=XXX>A <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code>
-  attribute <dfn id=concept-dropzone-operation title=concept-dropzone-operation>specifies an
-  operation</dfn> if... The specified operation is...</p>
+   <dd><p>Indicates that dropping an accepted item on the element will
+   result in a copy of the dragged data.</p>
 
-  <p>The <dfn id=dom-dropzone title=dom-dropzone><code>dropzone</code></dfn>
+
+   <dt><dfn id=attr-dropzone-move title=attr-dropzone-move><code>move</code></dfn></dt>
+
+   <dd><p>Indicates that dropping an accepted item on the element will
+   result in the dragged data being moved to the new location.</p>
+
+
+   <dt><dfn id=attr-dropzone-link title=attr-dropzone-link><code>link</code></dfn></dt>
+
+   <dd><p>Indicates that dropping an accepted item on the element will
+   result in a link to the original data.</p>
+
+
+   <dt>Any keyword with three characters or more, beginning with the
+   two characters U+0073 LATIN SMALL LETTER S and U+003A COLON or
+   U+0053 LATIN CAPITAL LETTER S and U+003A COLON (i.e. an <a href=#ascii-case-insensitive>ASCII
+   case-insensitive</a> match for the string "<code title="">s:</code>")<dt>
+
+   </dt><dd><p>Indicates that items with <a href=#the-drag-data-item-kind>the drag data item
+   kind</a> <i>Plain Unicode string</i> and <a href=#the-drag-data-item-type-string>the drag data
+   item type string</a> set to a value that matches the remainder
+   of the keyword are accepted.</dd>
+
+<!--DND-v3:
+   <dt>Any keyword with three characters or more, beginning with the
+   two characters U+0062 LATIN SMALL LETTER B and U+003A COLON or
+   U+0042 LATIN CAPITAL LETTER B and U+003A COLON (i.e. an <span>ASCII
+   case-insensitive</span> match for the string "<code
+   title="">b:</code>")<dt>
+
+   <dd><p>Indicates that items with <span>the drag data item
+   kind</span> <i>Blob</i>, <i>File</i>, or <i>Plain Unicode
+   string</i> and <span>the drag data item type string</span> set to a
+   value that matches the remainder of the keyword are
+   accepted.</p></dd>
+-->
+
+   <dt>Any keyword with three characters or more, beginning with the
+   two characters U+0066 LATIN SMALL LETTER F and U+003A COLON or
+   U+0046 LATIN CAPITAL LETTER F and U+003A COLON (i.e. an <a href=#ascii-case-insensitive>ASCII
+   case-insensitive</a> match for the string "<code title="">f:</code>")<dt>
+
+   </dt><dd><p>Indicates that items with <a href=#the-drag-data-item-kind>the drag data item
+   kind</a> <i>File</i> and <a href=#the-drag-data-item-type-string>the drag data item type
+   string</a> set to a value that matches the remainder of the
+   keyword are accepted.</dd>
+
+<!--DND-v4:
+   <dt>Any keyword with three characters or more, beginning with the
+   two characters U+006F LATIN SMALL LETTER O and U+003A COLON or
+   U+004F LATIN CAPITAL LETTER O and U+003A COLON (i.e. an <span>ASCII
+   case-insensitive</span> match for the string "<code
+   title="">o:</code>")<dt>
+
+   <dd><p>Indicates that items with <span>the drag data item type
+   string</span> set to a value that matches the remainder of the
+   keyword are accepted.</p></dd>
+-->
+
+  </dl><p>The <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code> content
+  attribute's values must not have more than one of the three feedback
+  values (<code title=attr-dropzone-copy><a href=#attr-dropzone-copy>copy</a></code>, <code title=attr-dropzone-move><a href=#attr-dropzone-move>move</a></code>, and <code title=attr-dropzone-link><a href=#attr-dropzone-link>link</a></code>) specified. If none are
+  specified, the <code title=attr-dropzone-copy><a href=#attr-dropzone-copy>copy</a></code> value is
+  implied.</p>
+
+  <p>A <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code> attribute <dfn id=concept-dropzone-match title=concept-dropzone-match>matches a drag data store</dfn> if
+  the <a href=#dropzone-processing-steps><code title=attr-dropzone>dropzone</code> processing
+  steps</a> result in a match.</p>
+
+  <p>A <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code> attribute <dfn id=concept-dropzone-operation title=concept-dropzone-operation>specifies an operation</dfn> if
+  the <a href=#dropzone-processing-steps><code title=attr-dropzone>dropzone</code> processing
+  steps</a> result in a specified operation. The specified
+  operation is as given by those steps.</p>
+
+  <p>The <dfn id=dropzone-processing-steps><code title=attr-dropzone>dropzone</code> processing
+  steps</dfn> are as follows. They either result in a match or not,
+  and separate from this result either in a specified operation or
+  not, as defined below.</p>
+
+  <ol><li><p>Let <var title="">value</var> be the value of the <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code> attribute.</li>
+
+   <li><p>Let <var title="">keywords</var> be the result of <a href=#split-a-string-on-spaces title="split a string on spaces">splitting <var title="">value</var> on spaces</a>.</li>
+
+   <li><p>Let <var title="">matched</var> be false.</li>
+
+   <li><p>Let <var title="">operation</var> be unspecified.</li>
+
+   <li><p class=XXX>...</li>
+
+   <li>
+
+    <p>The algorithm results in a match if <var title="">matched</var>
+    is true, and does not otherwise.</p>
+
+    <p>The algorithm results in a specified operation if <var title="">operation</var> is not unspecified. The specified
+    operation, if one is specified, is the one given by <var title="">operation</var>.</p>
+
+   </li>
+
+  </ol><p>The <dfn id=dom-dropzone title=dom-dropzone><code>dropzone</code></dfn>
   attribute must <a href=#reflect>reflect</a> the content attribute of the
   same name.</p>
 

Modified: index
===================================================================
--- index	2010-10-29 23:39:51 UTC (rev 5658)
+++ index	2010-11-01 20:24:05 UTC (rev 5659)
@@ -218,7 +218,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1>HTML5 (including next generation additions still in development)</h1>
-    <h2 class="no-num no-toc">Draft Standard — 29 October 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 1 November 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -67421,6 +67421,15 @@
        <a href=#current-target-element>current target element</a>.</p>
 
 
+       <dt>If the <a href=#current-target-element>current target element</a> is an element
+       with a <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code> attribute
+       that <a href=#concept-dropzone-match title=concept-dropzone-match>matches</a> the
+       <a href=#drag-data-store>drag data store</a> and does not <a href=#concept-dropzone-operation title=concept-dropzone-operation>specify an
+       operation</a></dt>
+
+       <dd><p>Set the <a href=#current-drag-operation>current drag operation</a> to "<code title="">copy</code>".</p>
+
+
        <dt>Otherwise</dt>
 
        <dd><p>Reset the <a href=#current-drag-operation>current drag operation</a> to "<code title="">none</code>".</dd>
@@ -67747,18 +67756,116 @@
 
   <h4 id=the-dropzone-attribute><span class=secno>8.7.8 </span>The <dfn title=attr-dropzone><code>dropzone</code></dfn> attribute</h4>
 
-  <p>All <a href=#html-elements>HTML elements</a> may have the <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code> content attribute set. <a class=XXX href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</a>,
-  <a href=#ascii-case-insensitive>ASCII case-insensitive</a></p>
+  <p>All <a href=#html-elements>HTML elements</a> may have the <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code> content attribute set. When
+  specified, its value must be an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique
+  space-separated tokens</a> that are <a href=#ascii-case-insensitive>ASCII
+  case-insensitive</a>. The allowed values are the following:</p>
 
-  <p class=XXX>A <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code>
-  attribute <dfn id=concept-dropzone-match title=concept-dropzone-match>matches a <span>drag
-  data store</span></dfn> if...</p>
+  <dl><dt><dfn id=attr-dropzone-copy title=attr-dropzone-copy><code>copy</code></dfn></dt>
 
-  <p class=XXX>A <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code>
-  attribute <dfn id=concept-dropzone-operation title=concept-dropzone-operation>specifies an
-  operation</dfn> if... The specified operation is...</p>
+   <dd><p>Indicates that dropping an accepted item on the element will
+   result in a copy of the dragged data.</p>
 
-  <p>The <dfn id=dom-dropzone title=dom-dropzone><code>dropzone</code></dfn>
+
+   <dt><dfn id=attr-dropzone-move title=attr-dropzone-move><code>move</code></dfn></dt>
+
+   <dd><p>Indicates that dropping an accepted item on the element will
+   result in the dragged data being moved to the new location.</p>
+
+
+   <dt><dfn id=attr-dropzone-link title=attr-dropzone-link><code>link</code></dfn></dt>
+
+   <dd><p>Indicates that dropping an accepted item on the element will
+   result in a link to the original data.</p>
+
+
+   <dt>Any keyword with three characters or more, beginning with the
+   two characters U+0073 LATIN SMALL LETTER S and U+003A COLON or
+   U+0053 LATIN CAPITAL LETTER S and U+003A COLON (i.e. an <a href=#ascii-case-insensitive>ASCII
+   case-insensitive</a> match for the string "<code title="">s:</code>")<dt>
+
+   </dt><dd><p>Indicates that items with <a href=#the-drag-data-item-kind>the drag data item
+   kind</a> <i>Plain Unicode string</i> and <a href=#the-drag-data-item-type-string>the drag data
+   item type string</a> set to a value that matches the remainder
+   of the keyword are accepted.</dd>
+
+<!--DND-v3:
+   <dt>Any keyword with three characters or more, beginning with the
+   two characters U+0062 LATIN SMALL LETTER B and U+003A COLON or
+   U+0042 LATIN CAPITAL LETTER B and U+003A COLON (i.e. an <span>ASCII
+   case-insensitive</span> match for the string "<code
+   title="">b:</code>")<dt>
+
+   <dd><p>Indicates that items with <span>the drag data item
+   kind</span> <i>Blob</i>, <i>File</i>, or <i>Plain Unicode
+   string</i> and <span>the drag data item type string</span> set to a
+   value that matches the remainder of the keyword are
+   accepted.</p></dd>
+-->
+
+   <dt>Any keyword with three characters or more, beginning with the
+   two characters U+0066 LATIN SMALL LETTER F and U+003A COLON or
+   U+0046 LATIN CAPITAL LETTER F and U+003A COLON (i.e. an <a href=#ascii-case-insensitive>ASCII
+   case-insensitive</a> match for the string "<code title="">f:</code>")<dt>
+
+   </dt><dd><p>Indicates that items with <a href=#the-drag-data-item-kind>the drag data item
+   kind</a> <i>File</i> and <a href=#the-drag-data-item-type-string>the drag data item type
+   string</a> set to a value that matches the remainder of the
+   keyword are accepted.</dd>
+
+<!--DND-v4:
+   <dt>Any keyword with three characters or more, beginning with the
+   two characters U+006F LATIN SMALL LETTER O and U+003A COLON or
+   U+004F LATIN CAPITAL LETTER O and U+003A COLON (i.e. an <span>ASCII
+   case-insensitive</span> match for the string "<code
+   title="">o:</code>")<dt>
+
+   <dd><p>Indicates that items with <span>the drag data item type
+   string</span> set to a value that matches the remainder of the
+   keyword are accepted.</p></dd>
+-->
+
+  </dl><p>The <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code> content
+  attribute's values must not have more than one of the three feedback
+  values (<code title=attr-dropzone-copy><a href=#attr-dropzone-copy>copy</a></code>, <code title=attr-dropzone-move><a href=#attr-dropzone-move>move</a></code>, and <code title=attr-dropzone-link><a href=#attr-dropzone-link>link</a></code>) specified. If none are
+  specified, the <code title=attr-dropzone-copy><a href=#attr-dropzone-copy>copy</a></code> value is
+  implied.</p>
+
+  <p>A <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code> attribute <dfn id=concept-dropzone-match title=concept-dropzone-match>matches a drag data store</dfn> if
+  the <a href=#dropzone-processing-steps><code title=attr-dropzone>dropzone</code> processing
+  steps</a> result in a match.</p>
+
+  <p>A <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code> attribute <dfn id=concept-dropzone-operation title=concept-dropzone-operation>specifies an operation</dfn> if
+  the <a href=#dropzone-processing-steps><code title=attr-dropzone>dropzone</code> processing
+  steps</a> result in a specified operation. The specified
+  operation is as given by those steps.</p>
+
+  <p>The <dfn id=dropzone-processing-steps><code title=attr-dropzone>dropzone</code> processing
+  steps</dfn> are as follows. They either result in a match or not,
+  and separate from this result either in a specified operation or
+  not, as defined below.</p>
+
+  <ol><li><p>Let <var title="">value</var> be the value of the <code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code> attribute.</li>
+
+   <li><p>Let <var title="">keywords</var> be the result of <a href=#split-a-string-on-spaces title="split a string on spaces">splitting <var title="">value</var> on spaces</a>.</li>
+
+   <li><p>Let <var title="">matched</var> be false.</li>
+
+   <li><p>Let <var title="">operation</var> be unspecified.</li>
+
+   <li><p class=XXX>...</li>
+
+   <li>
+
+    <p>The algorithm results in a match if <var title="">matched</var>
+    is true, and does not otherwise.</p>
+
+    <p>The algorithm results in a specified operation if <var title="">operation</var> is not unspecified. The specified
+    operation, if one is specified, is the one given by <var title="">operation</var>.</p>
+
+   </li>
+
+  </ol><p>The <dfn id=dom-dropzone title=dom-dropzone><code>dropzone</code></dfn>
   attribute must <a href=#reflect>reflect</a> the content attribute of the
   same name.</p>
 

Modified: source
===================================================================
--- source	2010-10-29 23:39:51 UTC (rev 5658)
+++ source	2010-11-01 20:24:05 UTC (rev 5659)
@@ -76878,6 +76878,17 @@
        <span>current target element</span>.</p>
 
 
+       <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 does not <span
+       title="concept-dropzone-operation">specify an
+       operation</span></dt>
+
+       <dd><p>Set the <span>current drag operation</span> to "<code
+       title="">copy</code>".</p>
+
+
        <dt>Otherwise</dt>
 
        <dd><p>Reset the <span>current drag operation</span> to "<code
@@ -77324,18 +77335,134 @@
   <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>
+  title="attr-dropzone">dropzone</code> content attribute set. When
+  specified, its value must be an <span>unordered set of unique
+  space-separated tokens</span> that are <span>ASCII
+  case-insensitive</span>. The allowed values are the following:</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>
+  <dl>
 
-  <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>
+   <dt><dfn title="attr-dropzone-copy"><code>copy</code></dfn></dt>
 
+   <dd><p>Indicates that dropping an accepted item on the element will
+   result in a copy of the dragged data.</p>
+
+
+   <dt><dfn title="attr-dropzone-move"><code>move</code></dfn></dt>
+
+   <dd><p>Indicates that dropping an accepted item on the element will
+   result in the dragged data being moved to the new location.</p>
+
+
+   <dt><dfn title="attr-dropzone-link"><code>link</code></dfn></dt>
+
+   <dd><p>Indicates that dropping an accepted item on the element will
+   result in a link to the original data.</p>
+
+
+   <dt>Any keyword with three characters or more, beginning with the
+   two characters U+0073 LATIN SMALL LETTER S and U+003A COLON or
+   U+0053 LATIN CAPITAL LETTER S and U+003A COLON (i.e. an <span>ASCII
+   case-insensitive</span> match for the string "<code
+   title="">s:</code>")<dt>
+
+   <dd><p>Indicates that items with <span>the drag data item
+   kind</span> <i>Plain Unicode string</i> and <span>the drag data
+   item type string</span> set to a value that matches the remainder
+   of the keyword are accepted.</p></dd>
+
+<!--DND-v3:
+   <dt>Any keyword with three characters or more, beginning with the
+   two characters U+0062 LATIN SMALL LETTER B and U+003A COLON or
+   U+0042 LATIN CAPITAL LETTER B and U+003A COLON (i.e. an <span>ASCII
+   case-insensitive</span> match for the string "<code
+   title="">b:</code>")<dt>
+
+   <dd><p>Indicates that items with <span>the drag data item
+   kind</span> <i>Blob</i>, <i>File</i>, or <i>Plain Unicode
+   string</i> and <span>the drag data item type string</span> set to a
+   value that matches the remainder of the keyword are
+   accepted.</p></dd>
+-->
+
+   <dt>Any keyword with three characters or more, beginning with the
+   two characters U+0066 LATIN SMALL LETTER F and U+003A COLON or
+   U+0046 LATIN CAPITAL LETTER F and U+003A COLON (i.e. an <span>ASCII
+   case-insensitive</span> match for the string "<code
+   title="">f:</code>")<dt>
+
+   <dd><p>Indicates that items with <span>the drag data item
+   kind</span> <i>File</i> and <span>the drag data item type
+   string</span> set to a value that matches the remainder of the
+   keyword are accepted.</p></dd>
+
+<!--DND-v4:
+   <dt>Any keyword with three characters or more, beginning with the
+   two characters U+006F LATIN SMALL LETTER O and U+003A COLON or
+   U+004F LATIN CAPITAL LETTER O and U+003A COLON (i.e. an <span>ASCII
+   case-insensitive</span> match for the string "<code
+   title="">o:</code>")<dt>
+
+   <dd><p>Indicates that items with <span>the drag data item type
+   string</span> set to a value that matches the remainder of the
+   keyword are accepted.</p></dd>
+-->
+
+  </dl>
+
+  <p>The <code title="attr-dropzone">dropzone</code> content
+  attribute's values must not have more than one of the three feedback
+  values (<code title="attr-dropzone-copy">copy</code>, <code
+  title="attr-dropzone-move">move</code>, and <code
+  title="attr-dropzone-link">link</code>) specified. If none are
+  specified, the <code title="attr-dropzone-copy">copy</code> value is
+  implied.</p>
+
+  <p>A <code title="attr-dropzone">dropzone</code> attribute <dfn
+  title="concept-dropzone-match">matches a drag data store</dfn> if
+  the <span><code title="attr-dropzone">dropzone</code> processing
+  steps</span> result in a match.</p>
+
+  <p>A <code title="attr-dropzone">dropzone</code> attribute <dfn
+  title="concept-dropzone-operation">specifies an operation</dfn> if
+  the <span><code title="attr-dropzone">dropzone</code> processing
+  steps</span> result in a specified operation. The specified
+  operation is as given by those steps.</p>
+
+  <p>The <dfn><code title="attr-dropzone">dropzone</code> processing
+  steps</dfn> are as follows. They either result in a match or not,
+  and separate from this result either in a specified operation or
+  not, as defined below.</p>
+
+  <ol>
+
+   <li><p>Let <var title="">value</var> be the value of the <code
+   title="attr-dropzone">dropzone</code> attribute.</p></li>
+
+   <li><p>Let <var title="">keywords</var> be the result of <span
+   title="split a string on spaces">splitting <var
+   title="">value</var> on spaces</span>.</p></li>
+
+   <li><p>Let <var title="">matched</var> be false.</p></li>
+
+   <li><p>Let <var title="">operation</var> be unspecified.</p></li>
+
+   <li><p class="XXX">...</p></li>
+
+   <li>
+
+    <p>The algorithm results in a match if <var title="">matched</var>
+    is true, and does not otherwise.</p>
+
+    <p>The algorithm results in a specified operation if <var
+    title="">operation</var> is not unspecified. The specified
+    operation, if one is specified, is the one given by <var
+    title="">operation</var>.</p>
+
+   </li>
+
+  </ol>
+
   <p>The <dfn title="dom-dropzone"><code>dropzone</code></dfn>
   attribute must <span>reflect</span> the content attribute of the
   same name.</p>




More information about the Commit-Watchers mailing list