[html5] r7658 - [e] (0) Cleanup Affected topics: DOM APIs
whatwg at whatwg.org
whatwg at whatwg.org
Fri Jan 25 17:16:41 PST 2013
Author: ianh
Date: 2013-01-25 17:16:40 -0800 (Fri, 25 Jan 2013)
New Revision: 7658
Modified:
complete.html
index
source
Log:
[e] (0) Cleanup
Affected topics: DOM APIs
Modified: complete.html
===================================================================
--- complete.html 2013-01-26 01:14:21 UTC (rev 7657)
+++ complete.html 2013-01-26 01:16:40 UTC (rev 7658)
@@ -9080,16 +9080,14 @@
<!--TOPIC:DOM APIs-->
<h4 id=domstringmap-0><span class=secno>2.7.3 </span>DOMStringMap</h4>
- <p>The <code><a href=#domstringmap>DOMStringMap</a></code> interface represents a set of
- name-value pairs. It exposes these using the scripting language's
- native mechanisms for property access.</p>
+ <p>The <code><a href=#domstringmap>DOMStringMap</a></code> interface represents a set of name-value pairs. It exposes these
+ using the scripting language's native mechanisms for property access.</p>
<div class=impl>
- <p>When a <code><a href=#domstringmap>DOMStringMap</a></code> object is instantiated, it is
- associated with three algorithms, one for getting the list of
- name-value pairs, one for setting names to certain values, and one
- for deleting names.</p>
+ <p>When a <code><a href=#domstringmap>DOMStringMap</a></code> object is instantiated, it is associated with three
+ algorithms, one for getting the list of name-value pairs, one for setting names to certain values,
+ and one for deleting names.</p>
<pre class=idl>interface <dfn id=domstringmap>DOMStringMap</dfn> {
<a href=#dom-domstringmap-nameditem title=dom-DOMStringMap-namedItem>getter</a> DOMString (DOMString name);
@@ -9097,43 +9095,32 @@
<a href=#dom-domstringmap-removeitem title=dom-DOMStringMap-removeItem>deleter</a> void (DOMString name);
};</pre>
- <p>The <a href=#supported-property-names>supported property names</a> on a
- <code><a href=#domstringmap>DOMStringMap</a></code> object at any instant are the names of
- each pair returned from the algorithm for getting the list of
- name-value pairs at that instant.</p>
+ <p>The <a href=#supported-property-names>supported property names</a> on a <code><a href=#domstringmap>DOMStringMap</a></code> object at any instant
+ are the names of each pair returned from the algorithm for getting the list of name-value pairs at
+ that instant.</p>
- <p>To <dfn id=dom-domstringmap-nameditem title=dom-DOMStringMap-namedItem>determine the value of
- a named property</dfn> <var title="">name</var> in a
- <code><a href=#domstringmap>DOMStringMap</a></code>, the user agent must return the value
- component of the name-value pair whose name component is <var title="">name</var> in the list returned by the algorithm for
- getting the list of name-value pairs.</p>
+ <p>To <dfn id=dom-domstringmap-nameditem title=dom-DOMStringMap-namedItem>determine the value of a named property</dfn> <var title="">name</var> in a <code><a href=#domstringmap>DOMStringMap</a></code>, the user agent must return the value component
+ of the name-value pair whose name component is <var title="">name</var> in the list returned by
+ the algorithm for getting the list of name-value pairs.</p>
- <p>To set the value of a <dfn id=dom-domstringmap-additem title=dom-DOMStringMap-addItem>new</dfn> or <dfn id=dom-domstringmap-setitem title=dom-DOMStringMap-setItem>existing</dfn> named property <var title="">name</var> to value <var title="">value</var>, the
- algorithm for setting names to certain values must be run, passing
- <var title="">name</var> as the name and the result of converting
- <var title="">value</var> to a <code>DOMString</code> as the
- value.</p>
+ <p>To set the value of a <dfn id=dom-domstringmap-additem title=dom-DOMStringMap-addItem>new</dfn> or <dfn id=dom-domstringmap-setitem title=dom-DOMStringMap-setItem>existing</dfn> named property <var title="">name</var> to value
+ <var title="">value</var>, the algorithm for setting names to certain values must be run, passing
+ <var title="">name</var> as the name and the result of converting <var title="">value</var> to a
+ <code>DOMString</code> as the value.</p>
- <p>To <dfn id=dom-domstringmap-removeitem title=dom-DOMStringMap-removeItem>delete an existing
- named property</dfn> <var title="">name</var>, the algorithm for
- deleting names must be run, passing <var title="">name</var> as the
- name.</p>
+ <p>To <dfn id=dom-domstringmap-removeitem title=dom-DOMStringMap-removeItem>delete an existing named property</dfn> <var title="">name</var>, the algorithm for deleting names must be run, passing <var title="">name</var> as the name.</p>
- <p class=note>The <code><a href=#domstringmap>DOMStringMap</a></code> interface definition
- here is only intended for JavaScript environments. Other language
- bindings will need to define how <code><a href=#domstringmap>DOMStringMap</a></code> is to be
- implemented for those languages.</p>
+ <p class=note>The <code><a href=#domstringmap>DOMStringMap</a></code> interface definition here is only intended for
+ JavaScript environments. Other language bindings will need to define how <code><a href=#domstringmap>DOMStringMap</a></code>
+ is to be implemented for those languages.</p>
</div>
<div class=example>
- <p>The <code title=dom-dataset><a href=#dom-dataset>dataset</a></code> attribute on
- elements exposes the <code title=attr-data-*><a href=#attr-data-*>data-*</a></code>
- attributes on the element.</p>
+ <p>The <code title=dom-dataset><a href=#dom-dataset>dataset</a></code> attribute on elements exposes the <code title=attr-data-*><a href=#attr-data-*>data-*</a></code> attributes on the element.</p>
- <p>Given the following fragment and elements with similar
- constructions:</p>
+ <p>Given the following fragment and elements with similar constructions:</p>
<pre><img class="tower" id="tower5" data-x="12" data-y="5"
data-ai="robotarget" data-hp="46" data-ability="flames"
Modified: index
===================================================================
--- index 2013-01-26 01:14:21 UTC (rev 7657)
+++ index 2013-01-26 01:16:40 UTC (rev 7658)
@@ -9080,16 +9080,14 @@
<!--TOPIC:DOM APIs-->
<h4 id=domstringmap-0><span class=secno>2.7.3 </span>DOMStringMap</h4>
- <p>The <code><a href=#domstringmap>DOMStringMap</a></code> interface represents a set of
- name-value pairs. It exposes these using the scripting language's
- native mechanisms for property access.</p>
+ <p>The <code><a href=#domstringmap>DOMStringMap</a></code> interface represents a set of name-value pairs. It exposes these
+ using the scripting language's native mechanisms for property access.</p>
<div class=impl>
- <p>When a <code><a href=#domstringmap>DOMStringMap</a></code> object is instantiated, it is
- associated with three algorithms, one for getting the list of
- name-value pairs, one for setting names to certain values, and one
- for deleting names.</p>
+ <p>When a <code><a href=#domstringmap>DOMStringMap</a></code> object is instantiated, it is associated with three
+ algorithms, one for getting the list of name-value pairs, one for setting names to certain values,
+ and one for deleting names.</p>
<pre class=idl>interface <dfn id=domstringmap>DOMStringMap</dfn> {
<a href=#dom-domstringmap-nameditem title=dom-DOMStringMap-namedItem>getter</a> DOMString (DOMString name);
@@ -9097,43 +9095,32 @@
<a href=#dom-domstringmap-removeitem title=dom-DOMStringMap-removeItem>deleter</a> void (DOMString name);
};</pre>
- <p>The <a href=#supported-property-names>supported property names</a> on a
- <code><a href=#domstringmap>DOMStringMap</a></code> object at any instant are the names of
- each pair returned from the algorithm for getting the list of
- name-value pairs at that instant.</p>
+ <p>The <a href=#supported-property-names>supported property names</a> on a <code><a href=#domstringmap>DOMStringMap</a></code> object at any instant
+ are the names of each pair returned from the algorithm for getting the list of name-value pairs at
+ that instant.</p>
- <p>To <dfn id=dom-domstringmap-nameditem title=dom-DOMStringMap-namedItem>determine the value of
- a named property</dfn> <var title="">name</var> in a
- <code><a href=#domstringmap>DOMStringMap</a></code>, the user agent must return the value
- component of the name-value pair whose name component is <var title="">name</var> in the list returned by the algorithm for
- getting the list of name-value pairs.</p>
+ <p>To <dfn id=dom-domstringmap-nameditem title=dom-DOMStringMap-namedItem>determine the value of a named property</dfn> <var title="">name</var> in a <code><a href=#domstringmap>DOMStringMap</a></code>, the user agent must return the value component
+ of the name-value pair whose name component is <var title="">name</var> in the list returned by
+ the algorithm for getting the list of name-value pairs.</p>
- <p>To set the value of a <dfn id=dom-domstringmap-additem title=dom-DOMStringMap-addItem>new</dfn> or <dfn id=dom-domstringmap-setitem title=dom-DOMStringMap-setItem>existing</dfn> named property <var title="">name</var> to value <var title="">value</var>, the
- algorithm for setting names to certain values must be run, passing
- <var title="">name</var> as the name and the result of converting
- <var title="">value</var> to a <code>DOMString</code> as the
- value.</p>
+ <p>To set the value of a <dfn id=dom-domstringmap-additem title=dom-DOMStringMap-addItem>new</dfn> or <dfn id=dom-domstringmap-setitem title=dom-DOMStringMap-setItem>existing</dfn> named property <var title="">name</var> to value
+ <var title="">value</var>, the algorithm for setting names to certain values must be run, passing
+ <var title="">name</var> as the name and the result of converting <var title="">value</var> to a
+ <code>DOMString</code> as the value.</p>
- <p>To <dfn id=dom-domstringmap-removeitem title=dom-DOMStringMap-removeItem>delete an existing
- named property</dfn> <var title="">name</var>, the algorithm for
- deleting names must be run, passing <var title="">name</var> as the
- name.</p>
+ <p>To <dfn id=dom-domstringmap-removeitem title=dom-DOMStringMap-removeItem>delete an existing named property</dfn> <var title="">name</var>, the algorithm for deleting names must be run, passing <var title="">name</var> as the name.</p>
- <p class=note>The <code><a href=#domstringmap>DOMStringMap</a></code> interface definition
- here is only intended for JavaScript environments. Other language
- bindings will need to define how <code><a href=#domstringmap>DOMStringMap</a></code> is to be
- implemented for those languages.</p>
+ <p class=note>The <code><a href=#domstringmap>DOMStringMap</a></code> interface definition here is only intended for
+ JavaScript environments. Other language bindings will need to define how <code><a href=#domstringmap>DOMStringMap</a></code>
+ is to be implemented for those languages.</p>
</div>
<div class=example>
- <p>The <code title=dom-dataset><a href=#dom-dataset>dataset</a></code> attribute on
- elements exposes the <code title=attr-data-*><a href=#attr-data-*>data-*</a></code>
- attributes on the element.</p>
+ <p>The <code title=dom-dataset><a href=#dom-dataset>dataset</a></code> attribute on elements exposes the <code title=attr-data-*><a href=#attr-data-*>data-*</a></code> attributes on the element.</p>
- <p>Given the following fragment and elements with similar
- constructions:</p>
+ <p>Given the following fragment and elements with similar constructions:</p>
<pre><img class="tower" id="tower5" data-x="12" data-y="5"
data-ai="robotarget" data-hp="46" data-ability="flames"
Modified: source
===================================================================
--- source 2013-01-26 01:14:21 UTC (rev 7657)
+++ source 2013-01-26 01:16:40 UTC (rev 7658)
@@ -8943,16 +8943,14 @@
<!--TOPIC:DOM APIs-->
<h4>DOMStringMap</h4>
- <p>The <code>DOMStringMap</code> interface represents a set of
- name-value pairs. It exposes these using the scripting language's
- native mechanisms for property access.</p>
+ <p>The <code>DOMStringMap</code> interface represents a set of name-value pairs. It exposes these
+ using the scripting language's native mechanisms for property access.</p>
<div class="impl">
- <p>When a <code>DOMStringMap</code> object is instantiated, it is
- associated with three algorithms, one for getting the list of
- name-value pairs, one for setting names to certain values, and one
- for deleting names.</p>
+ <p>When a <code>DOMStringMap</code> object is instantiated, it is associated with three
+ algorithms, one for getting the list of name-value pairs, one for setting names to certain values,
+ and one for deleting names.</p>
<pre class="idl">interface <dfn>DOMStringMap</dfn> {
<span title="dom-DOMStringMap-namedItem">getter</span> DOMString (DOMString name);
@@ -8960,47 +8958,37 @@
<span title="dom-DOMStringMap-removeItem">deleter</span> void (DOMString name);
};</pre>
- <p>The <span>supported property names</span> on a
- <code>DOMStringMap</code> object at any instant are the names of
- each pair returned from the algorithm for getting the list of
- name-value pairs at that instant.</p>
+ <p>The <span>supported property names</span> on a <code>DOMStringMap</code> object at any instant
+ are the names of each pair returned from the algorithm for getting the list of name-value pairs at
+ that instant.</p>
- <p>To <dfn title="dom-DOMStringMap-namedItem">determine the value of
- a named property</dfn> <var title="">name</var> in a
- <code>DOMStringMap</code>, the user agent must return the value
- component of the name-value pair whose name component is <var
- title="">name</var> in the list returned by the algorithm for
- getting the list of name-value pairs.</p>
+ <p>To <dfn title="dom-DOMStringMap-namedItem">determine the value of a named property</dfn> <var
+ title="">name</var> in a <code>DOMStringMap</code>, the user agent must return the value component
+ of the name-value pair whose name component is <var title="">name</var> in the list returned by
+ the algorithm for getting the list of name-value pairs.</p>
- <p>To set the value of a <dfn
- title="dom-DOMStringMap-addItem">new</dfn> or <dfn
- title="dom-DOMStringMap-setItem">existing</dfn> named property <var
- title="">name</var> to value <var title="">value</var>, the
- algorithm for setting names to certain values must be run, passing
- <var title="">name</var> as the name and the result of converting
- <var title="">value</var> to a <code>DOMString</code> as the
- value.</p>
+ <p>To set the value of a <dfn title="dom-DOMStringMap-addItem">new</dfn> or <dfn
+ title="dom-DOMStringMap-setItem">existing</dfn> named property <var title="">name</var> to value
+ <var title="">value</var>, the algorithm for setting names to certain values must be run, passing
+ <var title="">name</var> as the name and the result of converting <var title="">value</var> to a
+ <code>DOMString</code> as the value.</p>
- <p>To <dfn title="dom-DOMStringMap-removeItem">delete an existing
- named property</dfn> <var title="">name</var>, the algorithm for
- deleting names must be run, passing <var title="">name</var> as the
- name.</p>
+ <p>To <dfn title="dom-DOMStringMap-removeItem">delete an existing named property</dfn> <var
+ title="">name</var>, the algorithm for deleting names must be run, passing <var
+ title="">name</var> as the name.</p>
- <p class="note">The <code>DOMStringMap</code> interface definition
- here is only intended for JavaScript environments. Other language
- bindings will need to define how <code>DOMStringMap</code> is to be
- implemented for those languages.</p>
+ <p class="note">The <code>DOMStringMap</code> interface definition here is only intended for
+ JavaScript environments. Other language bindings will need to define how <code>DOMStringMap</code>
+ is to be implemented for those languages.</p>
</div>
<div class="example">
- <p>The <code title="dom-dataset">dataset</code> attribute on
- elements exposes the <code title="attr-data-*">data-*</code>
- attributes on the element.</p>
+ <p>The <code title="dom-dataset">dataset</code> attribute on elements exposes the <code
+ title="attr-data-*">data-*</code> attributes on the element.</p>
- <p>Given the following fragment and elements with similar
- constructions:</p>
+ <p>Given the following fragment and elements with similar constructions:</p>
<pre><img class="tower" id="tower5" data-x="12" data-y="5"
data-ai="robotarget" data-hp="46" data-ability="flames"
More information about the Commit-Watchers
mailing list