Skip to content

Commit

Permalink
[e] (0) Use WebIDL instead of prose.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20300
Affected topics: DOM APIs, Microdata

git-svn-id: http://svn.whatwg.org/webapps@7718 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 9, 2013
1 parent b04f423 commit 52eda55
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions complete.html
Expand Up @@ -8319,7 +8319,7 @@ <h3 id=documents><span class=secno>3.1 </span>Documents</h3>
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>;

Expand Down Expand Up @@ -61494,14 +61494,14 @@ <h3 id=microdata-dom-api><span class=secno>5.3 </span>Microdata DOM API</h3>

</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
Expand Down
6 changes: 3 additions & 3 deletions index
Expand Up @@ -8319,7 +8319,7 @@ partial /*sealed*/ interface <dfn id=document>Document</dfn> {
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>;

Expand Down Expand Up @@ -61494,14 +61494,14 @@ document.body.appendChild(outer);</pre>

</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
Expand Down
6 changes: 3 additions & 3 deletions source
Expand Up @@ -8026,7 +8026,7 @@ partial /*sealed*/ interface <dfn>Document</dfn> {
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>;

Expand Down Expand Up @@ -71830,14 +71830,14 @@ document.body.appendChild(outer);</pre>
<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
Expand Down

0 comments on commit 52eda55

Please sign in to comment.