Permalink
Browse files

Attempt to define the order of HTMLCollection's named properties.

  • Loading branch information...
1 parent 934d8d7 commit e4c52f949bdc3adf53dc0ebd40155fe5de0eced2 @annevk annevk committed Dec 13, 2012
Showing with 26 additions and 13 deletions.
  1. +13 −8 Overview.src.html
  2. +13 −5 dom-core.html
View
@@ -5409,7 +5409,7 @@ <h2 class=no-num>Goals</h2>
<p>An
<dfn title=concept-named-attribute><code><var title>A</var></code> attribute</dfn>
is an <span title=concept-attribute>attribute</span> whose
-<span title=concept-attribute-name>name</span> is
+<span title=concept-attribute-local-name>local name</span> is
<code><var title>A</var></code> and whose
<span title=concept-attribute-namespace>namespace</span> and
<span title=concept-attribute-namespace-prefix>namespace prefix</span> are
@@ -8240,14 +8240,19 @@ <h2 class=no-num>Goals</h2>
<var title>index</var>th <span title=concept-element>element</span> in the <span title=concept-collection>collection</span>, then the method must return null.
<p>The <span data-anolis-spec=webidl>supported property names</span> consist
-of the values of the <code title>name</code> attributes of each <code
-title>a</code>, <code title>applet</code>, <code title>area</code>, <code
-title>embed</code>, <code title>form</code>, <code title>frame</code>, <code
-title>frameset</code>, <code title>iframe</code>, <code title>img</code>, and
+of the <span title=concept-attribute-value>values</span> of the
+<span title=concept-named-attribute><code title>name</code> attributes</span>
+of each <code title>a</code>, <code title>applet</code>,
+<code title>area</code>, <code title>embed</code>, <code title>form</code>,
+<code title>frame</code>, <code title>frameset</code>,
+<code title>iframe</code>, <code title>img</code>, and
<code title>object</code> element in the <span>HTML namespace</span>,
-<span>represented by the collection</span> with a <code title>name</code>
-attribute, plus the list of <span title=concept-id>IDs</span> that the elements
-<span>represented by the collection</span> have.
+<span>represented by the collection</span> with a
+<span title=concept-named-attribute><code title>name</code> attribute</span>,
+and the <span title=concept-id>IDs</span> of the
+<span title=concept-element>elements</span>
+<span>represented by the collection</span>, intertwined in
+<span title=concept-tree-order>tree order</span>.
<p>The
<dfn title=dom-HTMLCollection-namedItem><code>namedItem(<var title>key</var>)</code></dfn>
View
@@ -5467,7 +5467,7 @@ <h4 id="interface-attr"><span class="secno">5.8.1 </span>Interface <code><a href
<p>An
<dfn id="concept-named-attribute" title="concept-named-attribute"><code><var title="">A</var></code> attribute</dfn>
is an <a href="#concept-attribute" title="concept-attribute">attribute</a> whose
-<a href="#concept-attribute-name" title="concept-attribute-name">name</a> is
+<a href="#concept-attribute-local-name" title="concept-attribute-local-name">local name</a> is
<code><var title="">A</var></code> and whose
<a href="#concept-attribute-namespace" title="concept-attribute-namespace">namespace</a> and
<a href="#concept-attribute-namespace-prefix" title="concept-attribute-namespace-prefix">namespace prefix</a> are
@@ -8266,11 +8266,19 @@ <h3 id="interface-htmlcollection"><span class="secno">8.2 </span>Interface <code
<var title="">index</var>th <a href="#concept-element" title="concept-element">element</a> in the <a href="#concept-collection" title="concept-collection">collection</a>, then the method must return null.
<p>The <a class="external" data-anolis-spec="webidl" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-names">supported property names</a> consist
-of the values of the <code title="">name</code> attributes of each <code title="">a</code>, <code title="">applet</code>, <code title="">area</code>, <code title="">embed</code>, <code title="">form</code>, <code title="">frame</code>, <code title="">frameset</code>, <code title="">iframe</code>, <code title="">img</code>, and
+of the <a href="#concept-attribute-value" title="concept-attribute-value">values</a> of the
+<a href="#concept-named-attribute" title="concept-named-attribute"><code title="">name</code> attributes</a>
+of each <code title="">a</code>, <code title="">applet</code>,
+<code title="">area</code>, <code title="">embed</code>, <code title="">form</code>,
+<code title="">frame</code>, <code title="">frameset</code>,
+<code title="">iframe</code>, <code title="">img</code>, and
<code title="">object</code> element in the <a href="#html-namespace">HTML namespace</a>,
-<a href="#represented-by-the-collection">represented by the collection</a> with a <code title="">name</code>
-attribute, plus the list of <a href="#concept-id" title="concept-id">IDs</a> that the elements
-<a href="#represented-by-the-collection">represented by the collection</a> have.
+<a href="#represented-by-the-collection">represented by the collection</a> with a
+<a href="#concept-named-attribute" title="concept-named-attribute"><code title="">name</code> attribute</a>,
+and the <a href="#concept-id" title="concept-id">IDs</a> of the
+<a href="#concept-element" title="concept-element">elements</a>
+<a href="#represented-by-the-collection">represented by the collection</a>, intertwined in
+<a href="#concept-tree-order" title="concept-tree-order">tree order</a>.
<p>The
<dfn id="dom-htmlcollection-nameditem" title="dom-HTMLCollection-namedItem"><code>namedItem(<var title="">key</var>)</code></dfn>

0 comments on commit e4c52f9

Please sign in to comment.