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

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

From: poot <cvsmail@w3.org>
Date: Tue, 13 Dec 2011 21:00:45 -0500
To: public-html-diffs@w3.org
Message-Id: <E1Rae9F-0008Li-0M@jay.w3.org>
microdata; hixie: When itemprop='' is specified on elements like <a> or
<iframe>, require the corresponding attribute, to help authors who are
misusing microdata. (whatwg r6851)

http://dev.w3.org/cvsweb/html5/md/Overview.html?r1=1.181&r2=1.182&f=h
http://html5.org/tools/web-apps-tracker?from=6850&to=6851

===================================================================
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, 14 December 2011 02:00:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:09:20 UTC