spec/Overview.html 1.1820 2650 Add <frame> and <frameset> to Window [[G

Add <frame> and <frameset> to Window [[Get]] and getElementsByName().
(whatwg r2650)

5.2.5 Named access on the Window object
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1820.html#named-access-on-the-window-object
namedItem(key)
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1820.html#dom-htmlcollection-nameditem
getElementsByClassName(classNames)
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1820.html#dom-document-getelementsbyclassname
getElementsByName(name)
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1820.html#dom-document-getelementsbyname
Named elements
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1820.html#dom-window-nameditem-filter
scripts
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1820.html#dom-document-scripts
the HTMLDocument object is indexed for property retrieval
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1820.html#dom-document-nameditem

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1819&r2=1.1820&f=h
http://html5.org/tools/web-apps-tracker?from=2649&to=2650

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1819
retrieving revision 1.1820
diff -u -d -r1.1819 -r1.1820
--- Overview.html 13 Jan 2009 08:34:18 -0000 1.1819
+++ Overview.html 13 Jan 2009 08:57:22 -0000 1.1820
@@ -4481,8 +4481,9 @@
   return null.<p>The <dfn id=dom-htmlcollection-nameditem title=dom-HTMLCollection-namedItem><code>namedItem(<var title="">key</var>)</code></dfn> method must return the first node
   in the collection that matches the following requirements:<ul><li>It is an <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=#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>
-   element with a <code title="">name</code> attribute equal to <var title="">key</var>, or,</li>
+   <code>frame</code>, <code>frameset</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> element with a <code title="">name</code> attribute equal to <var title="">key</var>,
+   or,</li>
 
    <li>It is an element with an ID <var title="">key</var>.</li>
 
@@ -5177,13 +5178,12 @@
   <code>Document</code> node, whose filter matches only
   <code><a href=#script>script</a></code> elements.</p><hr><p>The <dfn id=dom-document-getelementsbyname title=dom-document-getElementsByName><code>getElementsByName(<var title="">name</var>)</code></dfn> method takes a string <var title="">name</var>, and must return a live <code>NodeList</code>
   containing all the <code><a href=#the-a-element>a</a></code>, <code><a href=#the-applet-element>applet</a></code>,
-  <code><a href=#the-button-element>button</a></code>, <code><a href=#the-form-element>form</a></code>, <!-- frame? frameset?
-  XXX--><code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-img-element>img</a></code>, <code><a href=#the-input-element>input</a></code>,
-  <code><a href=#the-map-element>map</a></code>, <code><a href=#meta>meta</a></code>, <code><a href=#the-object-element>object</a></code>,<!-- param?
-  XXX--> <code><a href=#the-select-element>select</a></code>, and <code><a href=#the-textarea-element>textarea</a></code> elements in
-  that document that have a <code title="">name</code> attribute whose
-  value is equal to the <var title="">name</var> argument (in a
-  <a href=#case-sensitive>case-sensitive</a> manner), in <a href=#tree-order>tree order</a>.<p>The <dfn id=dom-document-getelementsbyclassname title=dom-document-getElementsByClassName><code>getElementsByClassName(<var title="">classNames</var>)</code></dfn> method takes a string that
+  <code><a href=#the-button-element>button</a></code>, <code><a href=#the-form-element>form</a></code>, <code>frame</code>,
+  <code>frameset</code>, <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-img-element>img</a></code>,
+  <code><a href=#the-input-element>input</a></code>, <code><a href=#the-map-element>map</a></code>, <code><a href=#meta>meta</a></code>,
+  <code><a href=#the-object-element>object</a></code>,<!-- param?  XXX--> <code><a href=#the-select-element>select</a></code>, and
+  <code><a href=#the-textarea-element>textarea</a></code> elements in that document that have a <code title="">name</code> attribute whose value is equal to the <var title="">name</var> argument (in a <a href=#case-sensitive>case-sensitive</a>
+  manner), in <a href=#tree-order>tree order</a>.<p>The <dfn id=dom-document-getelementsbyclassname title=dom-document-getElementsByClassName><code>getElementsByClassName(<var title="">classNames</var>)</code></dfn> method takes a string that
   contains an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated
   tokens</a> representing classes. When called, the method must
   return a live <code>NodeList</code> object containing all the
@@ -5249,7 +5249,8 @@
   <code title=attr-id><a href=#the-id-attribute>id</a></code> content attributes, and the values
   of the <code title=attr-id><a href=#the-id-attribute>id</a></code> content attributes of all the
   <code><a href=#the-img-element>img</a></code> elements in the <code>Document</code> that have
-  both <code title=attr-name>name</code> content attributes and <code title=attr-id><a href=#the-id-attribute>id</a></code> content attributes.<p>When <dfn id=dom-document-nameditem title=dom-document-namedItem>the
+  both <code title=attr-name>name</code> content attributes and
+  <code title=attr-id><a href=#the-id-attribute>id</a></code> content attributes.<p>When <dfn id=dom-document-nameditem title=dom-document-namedItem>the
   <code>HTMLDocument</code> object is indexed for property
   retrieval</dfn> using a name <var title="">name</var>, then the user
   agent must return the value obtained using the following steps:<ol><li>
@@ -27279,10 +27280,10 @@
   properties">supports named properties</span>. The <span>names of the
   supported named properties</span> at any moment consist of:<ul><li>The value of the <code title="">name</code> content attribute
    for all <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=#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 in the
-   <a href=#active-document>active document</a> that have a <code title="">name</code>
-   content attribute, and,</li>
+   <code><a href=#the-embed-element>embed</a></code>, <code>frame</code>, <code>frameset</code>,
+   <code><a href=#the-form-element>form</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 in the <a href=#active-document>active document</a>
+   that have a <code title="">name</code> content attribute, and,</li>
 
    <li>The value of the <code title=attr-id><a href=#the-id-attribute>id</a></code> content
    attribute of any <a href=#html-elements title="HTML elements">HTML element</a> in
@@ -27330,8 +27331,9 @@
   </ol><p><dfn id=dom-window-nameditem-filter title=dom-window-nameditem-filter>Named elements</dfn>
   with the name <var title="">name</var>, for the purposes of the
   above algorithm, are those that are either:<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=#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 that have a <code title=attr-name>name</code> content attribute whose value is <var title="">name</var>, or</li>
+   <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-form-element>form</a></code>, <code>frame</code>,
+   <code>frameset</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 that have a <code title=attr-name>name</code> content attribute whose value is <var title="">name</var>, or</li>
 
    <li><a href=#html-elements>HTML elements</a> elements that have an <code title=attr-id><a href=#the-id-attribute>id</a></code> content attribute whose value is <var title="">name</var>.</li>

Received on Tuesday, 13 January 2009 09:00:42 UTC