Skip to content

Commit

Permalink
[giow] (2) Excise all remaining mentions of DOMStringList
Browse files Browse the repository at this point in the history
Affected topics: DOM APIs, HTML, Microdata

git-svn-id: http://svn.whatwg.org/webapps@7158 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 28, 2012
1 parent 5ef7c5d commit 2285df6
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 63 deletions.
61 changes: 40 additions & 21 deletions complete.html
Expand Up @@ -3857,7 +3857,6 @@ <h4 id=dependencies><span class=secno>2.2.2 </span>Dependencies</h4>

<li><dfn id=htmlcollection><code>HTMLCollection</code></dfn> interface, and the terms <dfn id=collections>collections</dfn> and <dfn id=represented-by-the-collection>represented by the collection</dfn></li>

<li><dfn id=domstringlist><code>DOMStringList</code></dfn> interface</li>
<li><dfn id=domtokenlist><code>DOMTokenList</code></dfn> interface</li>
<li><dfn id=domsettabletokenlist><code>DOMSettableTokenList</code></dfn> interface</li>

Expand Down Expand Up @@ -9333,7 +9332,7 @@ <h5 id=htmlpropertiescollection-0><span class=secno>2.8.2.4 </span>HTMLPropertie
<pre class=idl>interface <dfn id=htmlpropertiescollection>HTMLPropertiesCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
// inherits <span title=dom-HTMLCollection-length>length</span> and <span title=dom-HTMLCollection-item>item</span>()
legacycaller getter <a href=#propertynodelist>PropertyNodeList</a>? <a href=#dom-htmlpropertiescollection-nameditem title=dom-HTMLPropertiesCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
readonly attribute <a href=#domstringlist>DOMStringList</a> <a href=#dom-htmlpropertiescollection-names title=dom-HTMLPropertiesCollection-names>names</a>;
readonly attribute <span>DOMString</span>[] <a href=#dom-htmlpropertiescollection-names title=dom-HTMLPropertiesCollection-names>names</a>;
};

typedef sequence&lt;any&gt; <dfn id=propertyvaluearray>PropertyValueArray</dfn>;
Expand Down Expand Up @@ -9367,7 +9366,7 @@ <h5 id=htmlpropertiescollection-0><span class=secno>2.8.2.4 </span>HTMLPropertie

<dt><var title="">collection</var> . <code title=dom-HTMLPropertiesCollection-names><a href=#dom-htmlpropertiescollection-names>names</a></code></dt>
<dd>
<p>Returns a <code><a href=#domstringlist>DOMStringList</a></code> with the <a href=#property-names>property names</a> of the elements in the collection.</p>
<p>Returns an array with the <a href=#property-names>property names</a> of the elements in the collection.</p>
</dd>

<dt><var title="">propertyNodeList</var> . <code title=dom-PropertyNodeList-getVlues>getValues</code>()</dt>
Expand All @@ -9385,12 +9384,11 @@ <h5 id=htmlpropertiescollection-0><span class=secno>2.8.2.4 </span>HTMLPropertie
the collection</a>.</p>

<p>The <dfn id=dom-htmlpropertiescollection-names title=dom-HTMLPropertiesCollection-names><code>names</code></dfn>
attribute must return a <a href=#live>live</a> <code><a href=#domstringlist>DOMStringList</a></code>
object giving the <a href=#property-names>property names</a> of all the elements
<a href=#represented-by-the-collection>represented by the collection</a>, listed in <a href=#tree-order>tree
order</a>, but with duplicates removed, leaving only the first
occurrence of each name. The same object must be returned each
time.</p>
attribute must return a <a href=#live>live</a> <a href=#dfn-read-only-array title=dfn-read-only-array>read only</a> array object giving the
<a href=#property-names>property names</a> of all the elements <a href=#represented-by-the-collection>represented by
the collection</a>, listed in <a href=#tree-order>tree order</a>, but with
duplicates removed, leaving only the first occurrence of each name.
The same object must be returned each time.</p>

<p>The <dfn id=dom-htmlpropertiescollection-nameditem title=dom-HTMLPropertiesCollection-namedItem><code>namedItem(<var title="">name</var>)</code></dfn> method must return a
<code><a href=#propertynodelist>PropertyNodeList</a></code> object representing a
Expand Down Expand Up @@ -76971,7 +76969,7 @@ <h4 id=the-datatransfer-interface><span class=secno>8.7.3 </span>The <code><a hr
void <a href=#dom-datatransfer-addelement title=dom-DataTransfer-addElement>addElement</a>(Element element);

/* old interface */
readonly attribute <a href=#domstringlist>DOMStringList</a> <a href=#dom-datatransfer-types title=dom-DataTransfer-types>types</a>;
readonly attribute <span>DOMString</span>[] <a href=#dom-datatransfer-types title=dom-DataTransfer-types>types</a>;
DOMString <a href=#dom-datatransfer-getdata title=dom-DataTransfer-getData>getData</a>(DOMString format);
void <a href=#dom-datatransfer-setdata title=dom-DataTransfer-setData>setData</a>(DOMString format, DOMString data);
void <a href=#dom-datatransfer-cleardata title=dom-DataTransfer-clearData>clearData</a>(optional DOMString format);
Expand Down Expand Up @@ -77039,10 +77037,9 @@ <h4 id=the-datatransfer-interface><span class=secno>8.7.3 </span>The <code><a hr

<dd>

<p>Returns a <code><a href=#domstringlist>DOMStringList</a></code> listing the formats that
were set in the <code title=event-dragstart><a href=#event-dragstart>dragstart</a></code>
event. In addition, if any files are being dragged, then one of
the types will be the string "<code title="">Files</code>".</p>
<p>Returns an array listing the formats that were set in the <code title=event-dragstart><a href=#event-dragstart>dragstart</a></code> event. In addition, if
any files are being dragged, then one of the types will be the
string "<code title="">Files</code>".</p>

</dd>

Expand Down Expand Up @@ -77166,16 +77163,15 @@ <h4 id=the-datatransfer-interface><span class=secno>8.7.3 </span>The <code><a hr
image at the time the method is invoked.</p>

<p>The <dfn id=dom-datatransfer-types title=dom-DataTransfer-types><code>types</code></dfn>
attribute must return a <a href=#live>live</a> <code><a href=#domstringlist>DOMStringList</a></code>
giving the strings that the following steps would produce. The same
object must be returned each time.</p>
attribute must return a <a href=#live>live</a> <a href=#dfn-read-only-array title=dfn-read-only-array>read only</a> array giving the
strings that the following steps would produce. The same object must
be returned each time.</p>

<ol><li><p>Start with an empty list <var title="">L</var>.</li>

<li><p>If the <code><a href=#datatransfer>DataTransfer</a></code> object is no longer
associated with a <a href=#drag-data-store>drag data store</a>, the
<code><a href=#domstringlist>DOMStringList</a></code> is empty. Abort these steps; return the
empty list <var title="">L</var>.</li>
associated with a <a href=#drag-data-store>drag data store</a>, the array is empty.
Abort these steps; return the empty list <var title="">L</var>.</li>

<li><p>For each item in the <a href=#drag-data-store-item-list>drag data store item list</a>
<!-- in some order...? --> whose <a href=#the-drag-data-item-kind title="the drag data item
Expand Down Expand Up @@ -78046,6 +78042,9 @@ <h4 id=drag-and-drop-processing-model><span class=secno>8.7.5 </span>Drag-and-dr
strings</a> must be <a href=#converted-to-ascii-lowercase>converted to ASCII
lowercase</a>.</p>

<p>User agents may also add one or more items representing the
selection or dragged element(s) in other forms, e.g. as HTML.</p>

</li>

<!-- DND-v2: text/html as an export format -->
Expand Down Expand Up @@ -78296,6 +78295,24 @@ <h4 id=drag-and-drop-processing-model><span class=secno>8.7.5 </span>Drag-and-dr
<a href=#immediate-user-selection>immediate user selection</a> anyway.</dd>


<dt>If the <a href=#current-target-element>current target element</a> is an element
that itself has an ancestor 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></dt>

<dd>

<p>Let <var title="">new target</var> be the nearest
(deepest) such ancestor element.</p>

<p>If the <a href=#current-target-element>current target element</a> is <var title="">new target</var>, then leave the <a href=#current-target-element>current
target element</a> unchanged.</p>

<p>Otherwise, <a href=#fire-a-dnd-event>fire a DND event</a> named <code title=event-dragenter><a href=#event-dragenter>dragenter</a></code> at <var title="">new target</var>. Then, set the <a href=#current-target-element>current
target element</a> to <var title="">new target</var>

</dd>


<dt>If the <a href=#current-target-element>current target element</a> is
<a href=#the-body-element-0>the body element</a></dt>

Expand All @@ -78309,11 +78326,13 @@ <h4 id=drag-and-drop-processing-model><span class=secno>8.7.5 </span>Drag-and-dr

<p><a href=#fire-a-dnd-event>Fire a DND event</a> named <code title=event-dragenter><a href=#event-dragenter>dragenter</a></code> at <a href=#the-body-element-0>the body
element</a>, if there is one, or at the
<code><a href=#document>Document</a></code> object, if not. Then, and set the
<code><a href=#document>Document</a></code> object, if not. Then, set the
<a href=#current-target-element>current target element</a> to <a href=#the-body-element-0>the body
element</a>, regardless of whether that event was
canceled or not.</p>

</dd>

</dl></dd>

</dl></li>
Expand Down
61 changes: 40 additions & 21 deletions index
Expand Up @@ -3857,7 +3857,6 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<li><dfn id=htmlcollection><code>HTMLCollection</code></dfn> interface, and the terms <dfn id=collections>collections</dfn> and <dfn id=represented-by-the-collection>represented by the collection</dfn></li>

<li><dfn id=domstringlist><code>DOMStringList</code></dfn> interface</li>
<li><dfn id=domtokenlist><code>DOMTokenList</code></dfn> interface</li>
<li><dfn id=domsettabletokenlist><code>DOMSettableTokenList</code></dfn> interface</li>

Expand Down Expand Up @@ -9333,7 +9332,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
<pre class=idl>interface <dfn id=htmlpropertiescollection>HTMLPropertiesCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
// inherits <span title=dom-HTMLCollection-length>length</span> and <span title=dom-HTMLCollection-item>item</span>()
legacycaller getter <a href=#propertynodelist>PropertyNodeList</a>? <a href=#dom-htmlpropertiescollection-nameditem title=dom-HTMLPropertiesCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
readonly attribute <a href=#domstringlist>DOMStringList</a> <a href=#dom-htmlpropertiescollection-names title=dom-HTMLPropertiesCollection-names>names</a>;
readonly attribute <span>DOMString</span>[] <a href=#dom-htmlpropertiescollection-names title=dom-HTMLPropertiesCollection-names>names</a>;
};

typedef sequence&lt;any&gt; <dfn id=propertyvaluearray>PropertyValueArray</dfn>;
Expand Down Expand Up @@ -9367,7 +9366,7 @@ interface <dfn id=propertynodelist>PropertyNodeList</dfn> : <a href=#nodelist>No

<dt><var title="">collection</var> . <code title=dom-HTMLPropertiesCollection-names><a href=#dom-htmlpropertiescollection-names>names</a></code></dt>
<dd>
<p>Returns a <code><a href=#domstringlist>DOMStringList</a></code> with the <a href=#property-names>property names</a> of the elements in the collection.</p>
<p>Returns an array with the <a href=#property-names>property names</a> of the elements in the collection.</p>
</dd>

<dt><var title="">propertyNodeList</var> . <code title=dom-PropertyNodeList-getVlues>getValues</code>()</dt>
Expand All @@ -9385,12 +9384,11 @@ interface <dfn id=propertynodelist>PropertyNodeList</dfn> : <a href=#nodelist>No
the collection</a>.</p>

<p>The <dfn id=dom-htmlpropertiescollection-names title=dom-HTMLPropertiesCollection-names><code>names</code></dfn>
attribute must return a <a href=#live>live</a> <code><a href=#domstringlist>DOMStringList</a></code>
object giving the <a href=#property-names>property names</a> of all the elements
<a href=#represented-by-the-collection>represented by the collection</a>, listed in <a href=#tree-order>tree
order</a>, but with duplicates removed, leaving only the first
occurrence of each name. The same object must be returned each
time.</p>
attribute must return a <a href=#live>live</a> <a href=#dfn-read-only-array title=dfn-read-only-array>read only</a> array object giving the
<a href=#property-names>property names</a> of all the elements <a href=#represented-by-the-collection>represented by
the collection</a>, listed in <a href=#tree-order>tree order</a>, but with
duplicates removed, leaving only the first occurrence of each name.
The same object must be returned each time.</p>

<p>The <dfn id=dom-htmlpropertiescollection-nameditem title=dom-HTMLPropertiesCollection-namedItem><code>namedItem(<var title="">name</var>)</code></dfn> method must return a
<code><a href=#propertynodelist>PropertyNodeList</a></code> object representing a
Expand Down Expand Up @@ -76971,7 +76969,7 @@ addShortcutKeyLabel(document.getElementById('c'));</pre>
void <a href=#dom-datatransfer-addelement title=dom-DataTransfer-addElement>addElement</a>(Element element);

/* old interface */
readonly attribute <a href=#domstringlist>DOMStringList</a> <a href=#dom-datatransfer-types title=dom-DataTransfer-types>types</a>;
readonly attribute <span>DOMString</span>[] <a href=#dom-datatransfer-types title=dom-DataTransfer-types>types</a>;
DOMString <a href=#dom-datatransfer-getdata title=dom-DataTransfer-getData>getData</a>(DOMString format);
void <a href=#dom-datatransfer-setdata title=dom-DataTransfer-setData>setData</a>(DOMString format, DOMString data);
void <a href=#dom-datatransfer-cleardata title=dom-DataTransfer-clearData>clearData</a>(optional DOMString format);
Expand Down Expand Up @@ -77039,10 +77037,9 @@ addShortcutKeyLabel(document.getElementById('c'));</pre>

<dd>

<p>Returns a <code><a href=#domstringlist>DOMStringList</a></code> listing the formats that
were set in the <code title=event-dragstart><a href=#event-dragstart>dragstart</a></code>
event. In addition, if any files are being dragged, then one of
the types will be the string "<code title="">Files</code>".</p>
<p>Returns an array listing the formats that were set in the <code title=event-dragstart><a href=#event-dragstart>dragstart</a></code> event. In addition, if
any files are being dragged, then one of the types will be the
string "<code title="">Files</code>".</p>

</dd>

Expand Down Expand Up @@ -77166,16 +77163,15 @@ addShortcutKeyLabel(document.getElementById('c'));</pre>
image at the time the method is invoked.</p>

<p>The <dfn id=dom-datatransfer-types title=dom-DataTransfer-types><code>types</code></dfn>
attribute must return a <a href=#live>live</a> <code><a href=#domstringlist>DOMStringList</a></code>
giving the strings that the following steps would produce. The same
object must be returned each time.</p>
attribute must return a <a href=#live>live</a> <a href=#dfn-read-only-array title=dfn-read-only-array>read only</a> array giving the
strings that the following steps would produce. The same object must
be returned each time.</p>

<ol><li><p>Start with an empty list <var title="">L</var>.</li>

<li><p>If the <code><a href=#datatransfer>DataTransfer</a></code> object is no longer
associated with a <a href=#drag-data-store>drag data store</a>, the
<code><a href=#domstringlist>DOMStringList</a></code> is empty. Abort these steps; return the
empty list <var title="">L</var>.</li>
associated with a <a href=#drag-data-store>drag data store</a>, the array is empty.
Abort these steps; return the empty list <var title="">L</var>.</li>

<li><p>For each item in the <a href=#drag-data-store-item-list>drag data store item list</a>
<!-- in some order...? --> whose <a href=#the-drag-data-item-kind title="the drag data item
Expand Down Expand Up @@ -78046,6 +78042,9 @@ dictionary <dfn id=drageventinit>DragEventInit</dfn> : <a href=#mouseeventinit>M
strings</a> must be <a href=#converted-to-ascii-lowercase>converted to ASCII
lowercase</a>.</p>

<p>User agents may also add one or more items representing the
selection or dragged element(s) in other forms, e.g. as HTML.</p>

</li>

<!-- DND-v2: text/html as an export format -->
Expand Down Expand Up @@ -78296,6 +78295,24 @@ dictionary <dfn id=drageventinit>DragEventInit</dfn> : <a href=#mouseeventinit>M
<a href=#immediate-user-selection>immediate user selection</a> anyway.</dd>


<dt>If the <a href=#current-target-element>current target element</a> is an element
that itself has an ancestor 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></dt>

<dd>

<p>Let <var title="">new target</var> be the nearest
(deepest) such ancestor element.</p>

<p>If the <a href=#current-target-element>current target element</a> is <var title="">new target</var>, then leave the <a href=#current-target-element>current
target element</a> unchanged.</p>

<p>Otherwise, <a href=#fire-a-dnd-event>fire a DND event</a> named <code title=event-dragenter><a href=#event-dragenter>dragenter</a></code> at <var title="">new target</var>. Then, set the <a href=#current-target-element>current
target element</a> to <var title="">new target</var>

</dd>


<dt>If the <a href=#current-target-element>current target element</a> is
<a href=#the-body-element-0>the body element</a></dt>

Expand All @@ -78309,11 +78326,13 @@ dictionary <dfn id=drageventinit>DragEventInit</dfn> : <a href=#mouseeventinit>M

<p><a href=#fire-a-dnd-event>Fire a DND event</a> named <code title=event-dragenter><a href=#event-dragenter>dragenter</a></code> at <a href=#the-body-element-0>the body
element</a>, if there is one, or at the
<code><a href=#document>Document</a></code> object, if not. Then, and set the
<code><a href=#document>Document</a></code> object, if not. Then, set the
<a href=#current-target-element>current target element</a> to <a href=#the-body-element-0>the body
element</a>, regardless of whether that event was
canceled or not.</p>

</dd>

</dl></dd>

</dl></li>
Expand Down

0 comments on commit 2285df6

Please sign in to comment.