[html5] r7718 - [e] (0) Use WebIDL instead of prose. Fixing https://www.w3.org/Bugs/Public/show_ [...]
whatwg at whatwg.org
whatwg at whatwg.org
Sat Feb 9 14:09:59 PST 2013
Author: ianh
Date: 2013-02-09 14:09:58 -0800 (Sat, 09 Feb 2013)
New Revision: 7718
Modified:
complete.html
index
source
Log:
[e] (0) Use WebIDL instead of prose.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20300
Affected topics: DOM APIs, Microdata
Modified: complete.html
===================================================================
--- complete.html 2013-02-09 22:05:23 UTC (rev 7717)
+++ complete.html 2013-02-09 22:09:58 UTC (rev 7718)
@@ -8319,7 +8319,7 @@
readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-forms title=dom-document-forms>forms</a>;
readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-scripts title=dom-document-scripts>scripts</a>;
NodeList <a href=#dom-document-getelementsbyname title=dom-document-getElementsByName>getElementsByName</a>(DOMString elementName);
- NodeList <a href=#dom-document-getitems title=dom-document-getItems>getItems</a>(optional DOMString typeNames); // <a href=#microdata>microdata</a>
+ NodeList <a href=#dom-document-getitems title=dom-document-getItems>getItems</a>(optional DOMString typeNames = ""); // <a href=#microdata>microdata</a>
readonly attribute <a href=#domelementmap>DOMElementMap</a> <a href=#dom-document-csselementmap title=dom-document-cssElementMap>cssElementMap</a>;
readonly attribute <a href=#htmlscriptelement>HTMLScriptElement</a>? <a href=#dom-document-currentscript title=dom-document-currentScript>currentScript</a>;
@@ -61494,14 +61494,14 @@
</dl><div class=impl>
- <p>The <dfn id=dom-document-getitems title=dom-document-getItems><code>document.getItems(<var title="">typeNames</var>)</code></dfn> method takes an optional string that contains an
+ <p>The <dfn id=dom-document-getitems title=dom-document-getItems><code>document.getItems(<var title="">typeNames</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> that are <a href=#case-sensitive>case-sensitive</a>,
representing types. When called, the method must return a <a href=#live>live</a> <code><a href=#nodelist>NodeList</a></code>
object containing all the elements in the document, in <a href=#tree-order>tree order</a>, that are each
<a href=#top-level-microdata-items>top-level microdata items</a> whose <a href=#item-types title="item types">types</a> include all the
types specified in the method's argument, having obtained the types by <a href=#split-a-string-on-spaces title="split a string
on spaces">splitting the string on spaces</a>. If there are no tokens specified in the
- argument, or if the argument is missing, then the method must return a <code><a href=#nodelist>NodeList</a></code>
+ argument, then the method must return a <code><a href=#nodelist>NodeList</a></code>
containing all the <a href=#top-level-microdata-items>top-level microdata items</a> in the document. When the method is
invoked on a <code><a href=#document>Document</a></code> object again with the same argument, the user agent may return
the same object as the object returned by the earlier call. In other cases, a new
Modified: index
===================================================================
--- index 2013-02-09 22:05:23 UTC (rev 7717)
+++ index 2013-02-09 22:09:58 UTC (rev 7718)
@@ -8319,7 +8319,7 @@
readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-forms title=dom-document-forms>forms</a>;
readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-scripts title=dom-document-scripts>scripts</a>;
NodeList <a href=#dom-document-getelementsbyname title=dom-document-getElementsByName>getElementsByName</a>(DOMString elementName);
- NodeList <a href=#dom-document-getitems title=dom-document-getItems>getItems</a>(optional DOMString typeNames); // <a href=#microdata>microdata</a>
+ NodeList <a href=#dom-document-getitems title=dom-document-getItems>getItems</a>(optional DOMString typeNames = ""); // <a href=#microdata>microdata</a>
readonly attribute <a href=#domelementmap>DOMElementMap</a> <a href=#dom-document-csselementmap title=dom-document-cssElementMap>cssElementMap</a>;
readonly attribute <a href=#htmlscriptelement>HTMLScriptElement</a>? <a href=#dom-document-currentscript title=dom-document-currentScript>currentScript</a>;
@@ -61494,14 +61494,14 @@
</dl><div class=impl>
- <p>The <dfn id=dom-document-getitems title=dom-document-getItems><code>document.getItems(<var title="">typeNames</var>)</code></dfn> method takes an optional string that contains an
+ <p>The <dfn id=dom-document-getitems title=dom-document-getItems><code>document.getItems(<var title="">typeNames</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> that are <a href=#case-sensitive>case-sensitive</a>,
representing types. When called, the method must return a <a href=#live>live</a> <code><a href=#nodelist>NodeList</a></code>
object containing all the elements in the document, in <a href=#tree-order>tree order</a>, that are each
<a href=#top-level-microdata-items>top-level microdata items</a> whose <a href=#item-types title="item types">types</a> include all the
types specified in the method's argument, having obtained the types by <a href=#split-a-string-on-spaces title="split a string
on spaces">splitting the string on spaces</a>. If there are no tokens specified in the
- argument, or if the argument is missing, then the method must return a <code><a href=#nodelist>NodeList</a></code>
+ argument, then the method must return a <code><a href=#nodelist>NodeList</a></code>
containing all the <a href=#top-level-microdata-items>top-level microdata items</a> in the document. When the method is
invoked on a <code><a href=#document>Document</a></code> object again with the same argument, the user agent may return
the same object as the object returned by the earlier call. In other cases, a new
Modified: source
===================================================================
--- source 2013-02-09 22:05:23 UTC (rev 7717)
+++ source 2013-02-09 22:09:58 UTC (rev 7718)
@@ -8026,7 +8026,7 @@
readonly attribute <span>HTMLCollection</span> <span title="dom-document-forms">forms</span>;
readonly attribute <span>HTMLCollection</span> <span title="dom-document-scripts">scripts</span>;
NodeList <span title="dom-document-getElementsByName">getElementsByName</span>(DOMString elementName);
- NodeList <span title="dom-document-getItems">getItems</span>(optional DOMString typeNames); // <span>microdata</span>
+ NodeList <span title="dom-document-getItems">getItems</span>(optional DOMString typeNames = ""); // <span>microdata</span>
readonly attribute <span>DOMElementMap</span> <span title="dom-document-cssElementMap">cssElementMap</span>;
readonly attribute <span>HTMLScriptElement</span>? <span title="dom-document-currentScript">currentScript</span>;
@@ -71830,14 +71830,14 @@
<div class="impl">
<p>The <dfn title="dom-document-getItems"><code>document.getItems(<var
- title="">typeNames</var>)</code></dfn> method takes an optional string that contains an
+ title="">typeNames</var>)</code></dfn> method takes a string that contains an
<span>unordered set of unique space-separated tokens</span> that are <span>case-sensitive</span>,
representing types. When called, the method must return a <span>live</span> <code>NodeList</code>
object containing all the elements in the document, in <span>tree order</span>, that are each
<span>top-level microdata items</span> whose <span title="item types">types</span> include all the
types specified in the method's argument, having obtained the types by <span title="split a string
on spaces">splitting the string on spaces</span>. If there are no tokens specified in the
- argument, or if the argument is missing, then the method must return a <code>NodeList</code>
+ argument, then the method must return a <code>NodeList</code>
containing all the <span>top-level microdata items</span> in the document. When the method is
invoked on a <code>Document</code> object again with the same argument, the user agent may return
the same object as the object returned by the earlier call. In other cases, a new
More information about the Commit-Watchers
mailing list