Permalink
Browse files

[giowt] (0) Remove the requirement that UAs check that item types are…

… syntactically correct after splitting the itemtype='' attribute.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14586

git-svn-id: http://svn.whatwg.org/webapps@6807 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 0674748 commit e719a23c07264fd6a83df3d3b36543a42f619017 @Hixie Hixie committed Nov 1, 2011
Showing with 10 additions and 36 deletions.
  1. +3 −11 complete.html
  2. +3 −11 index
  3. +4 −14 source
View
@@ -57844,12 +57844,10 @@ <h4 id=items><span class=secno>5.2.2 </span>Items</h4>
are defined to use the same vocabulary. The attribute's value must
have at least one token.</p>
- <p>The <dfn id=item-types>item types</dfn> of an <a href=#concept-item title=concept-item>item</a> are the <a href=#absolute-url title="absolute
- URL">absolute URLs</a> obtained by <a href=#split-a-string-on-spaces title="split a string on
- spaces">splitting the element's <code title=attr-itemtype>itemtype</code> attribute's value on
+ <p>The <dfn id=item-types>item types</dfn> of an <a href=#concept-item title=concept-item>item</a> are the tokens obtained by <a href=#split-a-string-on-spaces title="split a string on spaces">splitting the element's <code title=attr-itemtype>itemtype</code> attribute's value on
spaces</a>. If the <code title=attr-itemtype><a href=#attr-itemtype>itemtype</a></code>
- attribute is missing or parsing it in this way finds no tokens that
- are <a href=#absolute-url title="absolute URL">absolute URLs</a>, the <a href=#concept-item title=concept-item>item</a> is said to have no <a href=#item-types>item
+ attribute is missing or parsing it in this way finds no tokens, the
+ <a href=#concept-item title=concept-item>item</a> is said to have no <a href=#item-types>item
types</a>.</p>
<p>The <a href=#item-types>item types</a> must all be types defined in <a href=#other-applicable-specifications title="other applicable specifications">applicable
@@ -58417,12 +58415,6 @@ <h3 id=microdata-dom-api><span class=secno>5.3 </span>Microdata DOM API</h3>
object returned by the earlier call. In other cases, a new
<code><a href=#nodelist>NodeList</a></code> object must be returned.</p>
- <p class=note>Since a token in the <code title=attr-itemtype><a href=#attr-itemtype>itemtype</a></code> attribute that is not an
- <a href=#absolute-url>absolute URL</a> is not considered to be one of the item's
- <a href=#item-types>item types</a>, any tokens passed to <code title=dom-document-getItems><a href=#dom-document-getitems>getItems()</a></code> that are not
- themselves <a href=#absolute-url title="absolute URL">absolute URLs</a> will
- cause the method to return an empty <code><a href=#nodelist>NodeList</a></code>.</p>
-
<p>The <dfn id=dom-itemscope title=dom-itemScope><code>itemScope</code></dfn> IDL
attribute on <a href=#html-elements>HTML elements</a> must <a href=#reflect>reflect</a>
the <code title=attr-itemscope><a href=#attr-itemscope>itemscope</a></code> content attribute.
View
14 index
@@ -57844,12 +57844,10 @@ document.body.appendChild(outer);</pre>
are defined to use the same vocabulary. The attribute's value must
have at least one token.</p>
- <p>The <dfn id=item-types>item types</dfn> of an <a href=#concept-item title=concept-item>item</a> are the <a href=#absolute-url title="absolute
- URL">absolute URLs</a> obtained by <a href=#split-a-string-on-spaces title="split a string on
- spaces">splitting the element's <code title=attr-itemtype>itemtype</code> attribute's value on
+ <p>The <dfn id=item-types>item types</dfn> of an <a href=#concept-item title=concept-item>item</a> are the tokens obtained by <a href=#split-a-string-on-spaces title="split a string on spaces">splitting the element's <code title=attr-itemtype>itemtype</code> attribute's value on
spaces</a>. If the <code title=attr-itemtype><a href=#attr-itemtype>itemtype</a></code>
- attribute is missing or parsing it in this way finds no tokens that
- are <a href=#absolute-url title="absolute URL">absolute URLs</a>, the <a href=#concept-item title=concept-item>item</a> is said to have no <a href=#item-types>item
+ attribute is missing or parsing it in this way finds no tokens, the
+ <a href=#concept-item title=concept-item>item</a> is said to have no <a href=#item-types>item
types</a>.</p>
<p>The <a href=#item-types>item types</a> must all be types defined in <a href=#other-applicable-specifications title="other applicable specifications">applicable
@@ -58417,12 +58415,6 @@ document.body.appendChild(outer);</pre>
object returned by the earlier call. In other cases, a new
<code><a href=#nodelist>NodeList</a></code> object must be returned.</p>
- <p class=note>Since a token in the <code title=attr-itemtype><a href=#attr-itemtype>itemtype</a></code> attribute that is not an
- <a href=#absolute-url>absolute URL</a> is not considered to be one of the item's
- <a href=#item-types>item types</a>, any tokens passed to <code title=dom-document-getItems><a href=#dom-document-getitems>getItems()</a></code> that are not
- themselves <a href=#absolute-url title="absolute URL">absolute URLs</a> will
- cause the method to return an empty <code><a href=#nodelist>NodeList</a></code>.</p>
-
<p>The <dfn id=dom-itemscope title=dom-itemScope><code>itemScope</code></dfn> IDL
attribute on <a href=#html-elements>HTML elements</a> must <a href=#reflect>reflect</a>
the <code title=attr-itemscope><a href=#attr-itemscope>itemscope</a></code> content attribute.
View
18 source
@@ -65220,14 +65220,12 @@ document.body.appendChild(outer);</pre>
have at least one token.</p>
<p>The <dfn>item types</dfn> of an <span
- title="concept-item">item</span> are the <span title="absolute
- URL">absolute URLs</span> obtained by <span title="split a string on
- spaces">splitting the element's <code
+ title="concept-item">item</span> are the tokens obtained by <span
+ title="split a string on spaces">splitting the element's <code
title="attr-itemtype">itemtype</code> attribute's value on
spaces</span>. If the <code title="attr-itemtype">itemtype</code>
- attribute is missing or parsing it in this way finds no tokens that
- are <span title="absolute URL">absolute URLs</span>, the <span
- title="concept-item">item</span> is said to have no <span>item
+ attribute is missing or parsing it in this way finds no tokens, the
+ <span title="concept-item">item</span> is said to have no <span>item
types</span>.</p>
<p>The <span>item types</span> must all be types defined in <span
@@ -65895,14 +65893,6 @@ partial interface <span>HTMLElement</span> {
object returned by the earlier call. In other cases, a new
<code>NodeList</code> object must be returned.</p>
- <p class="note">Since a token in the <code
- title="attr-itemtype">itemtype</code> attribute that is not an
- <span>absolute URL</span> is not considered to be one of the item's
- <span>item types</span>, any tokens passed to <code
- title="dom-document-getItems">getItems()</code> that are not
- themselves <span title="absolute URL">absolute URLs</span> will
- cause the method to return an empty <code>NodeList</code>.</p>
-
<p>The <dfn title="dom-itemScope"><code>itemScope</code></dfn> IDL
attribute on <span>HTML elements</span> must <span>reflect</span>
the <code title="attr-itemscope">itemscope</code> content attribute.

0 comments on commit e719a23

Please sign in to comment.