W3C home > Mailing lists > Public > public-html-commits@w3.org > December 2011

html5/md Overview.html,1.181,1.182

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 07 Dec 2011 00:35:59 +0000
To: public-html-commits@w3.org
Message-Id: <E1RY5UN-0004L1-Od@lionel-hutz.w3.org>
Update of /sources/public/html5/md
In directory hutz:/tmp/cvs-serv16661

Modified Files:
	Overview.html 
Log Message:
When itemprop='' is specified on elements like <a> or <iframe>, require the corresponding attribute, to help authors who are misusing microdata. (whatwg r6851)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/md/Overview.html,v
retrieving revision 1.181
retrieving revision 1.182
diff -u -d -r1.181 -r1.182
--- Overview.html	7 Dec 2011 00:23:18 -0000	1.181
+++ Overview.html	7 Dec 2011 00:35:57 -0000	1.182
@@ -1708,7 +1708,17 @@
   <code>link</code> and <code>meta</code> elements may be used where
   <a href="#phrasing-content">phrasing content</a> is expected if the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute is present.<p>If a <code>link</code> element has an <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute, the <code title="attr-link-rel">rel</code> attribute may be omitted.<p>If a <code>meta</code> element has an <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute, the <code title="attr-meta-name">name</code>, <code title="attr-meta-http-equiv">http-equiv</code>, and <code title="attr-meta-charset">charset</code> attributes must be omitted,
   and the <code title="attr-meta-content">content</code> attribute
-  must be present.</p><div class="impl">
+  must be present.<p>If the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> is specified
+  on an <code>a</code> or <code>area</code> element, then the <code title="attr-hyperlink-href">href</code> attribute must also be
+  specified.<p>If the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> is specified
+  on an <code>iframe</code> element, then the <code title="attr-iframe-src">data</code> attribute must also be
+  specified.<p>If the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> is specified
+  on an <code>embed</code> element, then the <code title="attr-embed-src">data</code> attribute must also be
+  specified.<p>If the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> is specified
+  on an <code>object</code> element, then the <code title="attr-object-data">data</code> attribute must also be
+  specified.<p>If the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> is specified
+  on a <span>media element</span>, then the <code title="attr-media-src">src</code> attribute must also be
+  specified.</p><div class="impl">
 
   <h3 id="drag-and-drop"><span class="secno">4.2 </span>Drag-and-drop</h3>
 
Received on Wednesday, 7 December 2011 00:36:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 December 2011 00:36:01 GMT