html5/md Overview.html,1.171,1.172

Update of /sources/public/html5/md
In directory hutz:/tmp/cvs-serv20423

Modified Files:
	Overview.html 
Log Message:
Try to clarify that global HTML attributes aren't global across other namespaces without having to litter '...and is an HTML element' all over the spec. (whatwg r6754)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/md/Overview.html,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -d -r1.171 -r1.172
--- Overview.html	20 Oct 2011 23:05:03 -0000	1.171
+++ Overview.html	25 Oct 2011 19:23:17 -0000	1.172
@@ -320,7 +320,7 @@
 
    <h1>HTML Microdata</h1>
    <h2 class="no-num no-toc" id="generatedID"></h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-20-october-2011">Editor's Draft 20 October 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-25-october-2011">Editor's Draft 25 October 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/microdata/">http://www.w3.org/TR/microdata/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -454,7 +454,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 20 October 2011 Editor's Draft.
+  This specification is the 25 October 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This specification is an extension to the HTML5 language. All
@@ -489,7 +489,8 @@
    <li><a href="#items"><span class="secno">2.2 </span>Items</a></li>
    <li><a href="#names:-the-itemprop-attribute"><span class="secno">2.3 </span>Names: the <code>itemprop</code> attribute</a></li>
    <li><a href="#values"><span class="secno">2.4 </span>Values</a></li>
-   <li><a href="#associating-names-with-items"><span class="secno">2.5 </span>Associating names with items</a></ol></li>
+   <li><a href="#associating-names-with-items"><span class="secno">2.5 </span>Associating names with items</a></li>
+   <li><a href="#microdata-and-other-namespaces"><span class="secno">2.6 </span>Microdata and other namespaces</a></ol></li>
  <li><a href="#microdata-dom-api"><span class="secno">3 </span>Microdata DOM API</a></li>
  <li><a href="#other-changes-to-html5"><span class="secno">4 </span>Other changes to HTML5</a>
   <ol>
@@ -1470,6 +1471,19 @@
    </dl></div>
 
 
+  </div><h3 id="microdata-and-other-namespaces"><span class="secno">2.6 </span>Microdata and other namespaces</h3><p>Currently, the <code title="attr-itemscope"><a href="#attr-itemscope">itemscope</a></code>,
+  <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code>, and other microdata
+  attributes are only defined for <a href="#html-elements">HTML elements</a>. This
+  means that attributes with the literal names "<code title="">itemscope</code>", "<code title="">itemprop</code>", etc,
+  do not cause microdata processing to occur on elements in other
+  namespaces, such as SVG.<div class="example">
+
+   <p>Thus, in the following example there is only one item, not
+   two.</p>
+
+   <pre class="bad">&lt;p itemscope&gt;&lt;/p&gt; &lt;!-- this is an item (with no properties and no type) --&gt;
+&lt;svg itemscope&gt;&lt;/svg&gt; &lt;!-- this is not, it's just an <code>svg</code> element with an invalid unknown attribute --&gt;</pre>
+
   </div><h2 id="microdata-dom-api"><span class="secno">3 </span>Microdata DOM API</h2><pre class="idl">partial interface <span>Document</span> { 
   NodeList <a href="#dom-document-getitems" title="dom-document-getItems">getItems</a>(optional DOMString typeNames); // <span>microdata</span>
 };

Received on Tuesday, 25 October 2011 19:23:25 UTC