[html5] r8501 - [giow] (3) Update the list of elements that support name='' attributes for the p [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Feb 21 14:09:42 PST 2014


Author: ianh
Date: 2014-02-21 14:09:41 -0800 (Fri, 21 Feb 2014)
New Revision: 8501

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Update the list of elements that support name='' attributes for the purposes of document.all (mostly using the IE/Firefox lists, which are nearly identical, and a superset of Safari/Chrome)
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24622
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2014-02-21 21:19:43 UTC (rev 8500)
+++ complete.html	2014-02-21 22:09:41 UTC (rev 8501)
@@ -7588,9 +7588,10 @@
    <dd>
     <p>Returns the item with <a href=#concept-id title=concept-id>ID</a> or name <var title="">name</var> from the collection.</p>
     <p>If there are multiple matching items, then an <code><a href=#htmlcollection>HTMLCollection</a></code> object containing all those elements is returned.</p>
-    <p>Only <code><a href=#the-a-element>a</a></code>, <code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-area-element>area</a></code>, <code><a href=#the-embed-element>embed</a></code>,
-    <code><a href=#the-form-element>form</a></code>, <code><a href=#frame>frame</a></code>, <code><a href=#frameset>frameset</a></code>, <code><a href=#the-iframe-element>iframe</a></code>,
-    <code><a href=#the-img-element>img</a></code>, and <code><a href=#the-object-element>object</a></code> elements can have a name for the purpose of this
+    <!-- this list only includes conforming elements: -->
+    <p>Only <code><a href=#the-a-element>a</a></code>, <code><a href=#the-button-element>button</a></code>, <code><a href=#the-form-element>form</a></code>, <code><a href=#the-iframe-element>iframe</a></code>,
+    <code><a href=#the-input-element>input</a></code>, <code><a href=#the-map-element>map</a></code>, <code><a href=#the-meta-element>meta</a></code>, <code><a href=#the-object-element>object</a></code>,
+    <code><a href=#the-select-element>select</a></code>, and <code><a href=#the-textarea-element>textarea</a></code> elements can have a name for the purpose of this
     method; their name is given by the value of their <code title="">name</code> attribute.</p>
    </dd>
 
@@ -7599,11 +7600,29 @@
   <p>The object's <a href=#supported-property-indices>supported property indices</a> are as defined for
   <code><a href=#htmlcollection>HTMLCollection</a></code> objects.</p>
 
+  <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2837 -->
+  <p>The following elements are <dfn id=all-named-elements>"all"-named elements</dfn>:
+   <code><a href=#the-a-element>a</a></code>, <!-- in some browsers -->
+   <code><a href=#the-applet-element>applet</a></code>,
+   <code><a href=#the-button-element>button</a></code>, <!-- in some browsers -->
+   <code><a href=#the-embed-element>embed</a></code>,
+   <code><a href=#the-form-element>form</a></code>,
+   <code><a href=#frame>frame</a></code>,
+   <code><a href=#frameset>frameset</a></code>,
+   <code><a href=#the-iframe-element>iframe</a></code>, <!-- in some browsers -->
+   <code><a href=#the-img-element>img</a></code>,
+   <code><a href=#the-input-element>input</a></code>,
+   <!-- keygen? -->
+   <code><a href=#the-map-element>map</a></code>, <!-- in some browsers -->
+   <code><a href=#the-meta-element>meta</a></code>, <!-- in some browsers -->
+   <code><a href=#the-object-element>object</a></code>,
+   <code><a href=#the-select-element>select</a></code>, and
+   <code><a href=#the-textarea-element>textarea</a></code> <!-- in some browsers -->
+  </p>
+
   <p>The <a href=#supported-property-names>supported property names</a> consist of the non-empty values of all the <code title=attr-id><a href=#the-id-attribute>id</a></code> attributes of all the elements <a href=#represented-by-the-collection>represented by the
   collection</a>, and the non-empty values of all the <code title="">name</code> attributes of all the
-  <code><a href=#the-a-element>a</a></code>, <code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-area-element>area</a></code>, <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-form-element>form</a></code>,
-  <code><a href=#frame>frame</a></code>, <code><a href=#frameset>frameset</a></code>, <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-img-element>img</a></code>, and
-  <code><a href=#the-object-element>object</a></code> elements <a href=#represented-by-the-collection>represented by the collection</a>, in <a href=#tree-order>tree
+  <a href=#all-named-elements>"all"-named elements</a> <a href=#represented-by-the-collection>represented by the collection</a>, in <a href=#tree-order>tree
   order</a>, ignoring later duplicates, with the <code title=attr-id><a href=#the-id-attribute>id</a></code> of an element
   preceding its <code title="">name</code> if it contributes both, they differ from each other, and neither
   is the duplicate of an earlier entry.</p>
@@ -7620,9 +7639,7 @@
     filter matches only elements that already match the filter of the <code><a href=#htmlallcollection>HTMLAllCollection</a></code>
     object on which the method was invoked and that are either:</p>
 
-    <ul><li><code><a href=#the-a-element>a</a></code>, <code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-area-element>area</a></code>, <code><a href=#the-embed-element>embed</a></code>,
-     <code><a href=#the-form-element>form</a></code>, <code><a href=#frame>frame</a></code>, <code><a href=#frameset>frameset</a></code>, <code><a href=#the-iframe-element>iframe</a></code>,
-     <code><a href=#the-img-element>img</a></code>, or <code><a href=#the-object-element>object</a></code> elements with a <code title="">name</code> attribute
+    <ul><li><a href=#all-named-elements>"all"-named elements</a> with a <code title="">name</code> attribute
      equal to <var title="">name</var>, or,</li>
 
      <li>elements with an <a href=#concept-id title=concept-id>ID</a> equal to <var title="">name</var>.</li>

Modified: index
===================================================================
--- index	2014-02-21 21:19:43 UTC (rev 8500)
+++ index	2014-02-21 22:09:41 UTC (rev 8501)
@@ -7588,9 +7588,10 @@
    <dd>
     <p>Returns the item with <a href=#concept-id title=concept-id>ID</a> or name <var title="">name</var> from the collection.</p>
     <p>If there are multiple matching items, then an <code><a href=#htmlcollection>HTMLCollection</a></code> object containing all those elements is returned.</p>
-    <p>Only <code><a href=#the-a-element>a</a></code>, <code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-area-element>area</a></code>, <code><a href=#the-embed-element>embed</a></code>,
-    <code><a href=#the-form-element>form</a></code>, <code><a href=#frame>frame</a></code>, <code><a href=#frameset>frameset</a></code>, <code><a href=#the-iframe-element>iframe</a></code>,
-    <code><a href=#the-img-element>img</a></code>, and <code><a href=#the-object-element>object</a></code> elements can have a name for the purpose of this
+    <!-- this list only includes conforming elements: -->
+    <p>Only <code><a href=#the-a-element>a</a></code>, <code><a href=#the-button-element>button</a></code>, <code><a href=#the-form-element>form</a></code>, <code><a href=#the-iframe-element>iframe</a></code>,
+    <code><a href=#the-input-element>input</a></code>, <code><a href=#the-map-element>map</a></code>, <code><a href=#the-meta-element>meta</a></code>, <code><a href=#the-object-element>object</a></code>,
+    <code><a href=#the-select-element>select</a></code>, and <code><a href=#the-textarea-element>textarea</a></code> elements can have a name for the purpose of this
     method; their name is given by the value of their <code title="">name</code> attribute.</p>
    </dd>
 
@@ -7599,11 +7600,29 @@
   <p>The object's <a href=#supported-property-indices>supported property indices</a> are as defined for
   <code><a href=#htmlcollection>HTMLCollection</a></code> objects.</p>
 
+  <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2837 -->
+  <p>The following elements are <dfn id=all-named-elements>"all"-named elements</dfn>:
+   <code><a href=#the-a-element>a</a></code>, <!-- in some browsers -->
+   <code><a href=#the-applet-element>applet</a></code>,
+   <code><a href=#the-button-element>button</a></code>, <!-- in some browsers -->
+   <code><a href=#the-embed-element>embed</a></code>,
+   <code><a href=#the-form-element>form</a></code>,
+   <code><a href=#frame>frame</a></code>,
+   <code><a href=#frameset>frameset</a></code>,
+   <code><a href=#the-iframe-element>iframe</a></code>, <!-- in some browsers -->
+   <code><a href=#the-img-element>img</a></code>,
+   <code><a href=#the-input-element>input</a></code>,
+   <!-- keygen? -->
+   <code><a href=#the-map-element>map</a></code>, <!-- in some browsers -->
+   <code><a href=#the-meta-element>meta</a></code>, <!-- in some browsers -->
+   <code><a href=#the-object-element>object</a></code>,
+   <code><a href=#the-select-element>select</a></code>, and
+   <code><a href=#the-textarea-element>textarea</a></code> <!-- in some browsers -->
+  </p>
+
   <p>The <a href=#supported-property-names>supported property names</a> consist of the non-empty values of all the <code title=attr-id><a href=#the-id-attribute>id</a></code> attributes of all the elements <a href=#represented-by-the-collection>represented by the
   collection</a>, and the non-empty values of all the <code title="">name</code> attributes of all the
-  <code><a href=#the-a-element>a</a></code>, <code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-area-element>area</a></code>, <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-form-element>form</a></code>,
-  <code><a href=#frame>frame</a></code>, <code><a href=#frameset>frameset</a></code>, <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-img-element>img</a></code>, and
-  <code><a href=#the-object-element>object</a></code> elements <a href=#represented-by-the-collection>represented by the collection</a>, in <a href=#tree-order>tree
+  <a href=#all-named-elements>"all"-named elements</a> <a href=#represented-by-the-collection>represented by the collection</a>, in <a href=#tree-order>tree
   order</a>, ignoring later duplicates, with the <code title=attr-id><a href=#the-id-attribute>id</a></code> of an element
   preceding its <code title="">name</code> if it contributes both, they differ from each other, and neither
   is the duplicate of an earlier entry.</p>
@@ -7620,9 +7639,7 @@
     filter matches only elements that already match the filter of the <code><a href=#htmlallcollection>HTMLAllCollection</a></code>
     object on which the method was invoked and that are either:</p>
 
-    <ul><li><code><a href=#the-a-element>a</a></code>, <code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-area-element>area</a></code>, <code><a href=#the-embed-element>embed</a></code>,
-     <code><a href=#the-form-element>form</a></code>, <code><a href=#frame>frame</a></code>, <code><a href=#frameset>frameset</a></code>, <code><a href=#the-iframe-element>iframe</a></code>,
-     <code><a href=#the-img-element>img</a></code>, or <code><a href=#the-object-element>object</a></code> elements with a <code title="">name</code> attribute
+    <ul><li><a href=#all-named-elements>"all"-named elements</a> with a <code title="">name</code> attribute
      equal to <var title="">name</var>, or,</li>
 
      <li>elements with an <a href=#concept-id title=concept-id>ID</a> equal to <var title="">name</var>.</li>

Modified: source
===================================================================
--- source	2014-02-21 21:19:43 UTC (rev 8500)
+++ source	2014-02-21 22:09:41 UTC (rev 8501)
@@ -7040,9 +7040,10 @@
    <dd>
     <p>Returns the item with <span data-x="concept-id">ID</span> or name <var data-x="">name</var> from the collection.</p>
     <p>If there are multiple matching items, then an <code>HTMLCollection</code> object containing all those elements is returned.</p>
-    <p>Only <code>a</code>, <code>applet</code>, <code>area</code>, <code>embed</code>,
-    <code>form</code>, <code>frame</code>, <code>frameset</code>, <code>iframe</code>,
-    <code>img</code>, and <code>object</code> elements can have a name for the purpose of this
+    <!-- this list only includes conforming elements: -->
+    <p>Only <code>a</code>, <code>button</code>, <code>form</code>, <code>iframe</code>,
+    <code>input</code>, <code>map</code>, <code>meta</code>, <code>object</code>,
+    <code>select</code>, and <code>textarea</code> elements can have a name for the purpose of this
     method; their name is given by the value of their <code data-x="">name</code> attribute.</p>
    </dd>
 
@@ -7053,12 +7054,30 @@
   <p>The object's <span>supported property indices</span> are as defined for
   <code>HTMLCollection</code> objects.</p>
 
+  <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2837 -->
+  <p>The following elements are <dfn>"all"-named elements</dfn>:
+   <code>a</code>, <!-- in some browsers -->
+   <code>applet</code>,
+   <code>button</code>, <!-- in some browsers -->
+   <code>embed</code>,
+   <code>form</code>,
+   <code>frame</code>,
+   <code>frameset</code>,
+   <code>iframe</code>, <!-- in some browsers -->
+   <code>img</code>,
+   <code>input</code>,
+   <!-- keygen? -->
+   <code>map</code>, <!-- in some browsers -->
+   <code>meta</code>, <!-- in some browsers -->
+   <code>object</code>,
+   <code>select</code>, and
+   <code>textarea</code> <!-- in some browsers -->
+  </p>
+
   <p>The <span>supported property names</span> consist of the non-empty values of all the <code
   data-x="attr-id">id</code> attributes of all the elements <span>represented by the
   collection</span>, and the non-empty values of all the <code data-x="">name</code> attributes of all the
-  <code>a</code>, <code>applet</code>, <code>area</code>, <code>embed</code>, <code>form</code>,
-  <code>frame</code>, <code>frameset</code>, <code>iframe</code>, <code>img</code>, and
-  <code>object</code> elements <span>represented by the collection</span>, in <span>tree
+  <span>"all"-named elements</span> <span>represented by the collection</span>, in <span>tree
   order</span>, ignoring later duplicates, with the <code data-x="attr-id">id</code> of an element
   preceding its <code data-x="">name</code> if it contributes both, they differ from each other, and neither
   is the duplicate of an earlier entry.</p>
@@ -7081,9 +7100,7 @@
 
     <ul>
 
-     <li><code>a</code>, <code>applet</code>, <code>area</code>, <code>embed</code>,
-     <code>form</code>, <code>frame</code>, <code>frameset</code>, <code>iframe</code>,
-     <code>img</code>, or <code>object</code> elements with a <code data-x="">name</code> attribute
+     <li><span>"all"-named elements</span> with a <code data-x="">name</code> attribute
      equal to <var data-x="">name</var>, or,</li>
 
      <li>elements with an <span data-x="concept-id">ID</span> equal to <var data-x="">name</var>.</li>




More information about the Commit-Watchers mailing list