[html5] r7829 - [c] (0) I couldn't find a normative statement requiring that <area> only be insi [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Apr 13 10:18:04 PDT 2013


Author: ianh
Date: 2013-04-13 10:18:03 -0700 (Sat, 13 Apr 2013)
New Revision: 7829

Modified:
   complete.html
   index
   source
Log:
[c] (0) I couldn't find a normative statement requiring that <area> only be inside <map>.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21673
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-04-13 16:18:34 UTC (rev 7828)
+++ complete.html	2013-04-13 17:18:03 UTC (rev 7829)
@@ -38831,10 +38831,13 @@
 };
 <a href=#htmlareaelement>HTMLAreaElement</a> implements <a href=#urlutils>URLUtils</a>;</pre>
    </dd>
-  </dl><!--TOPIC:HTML--><p>The <code><a href=#the-area-element>area</a></code> element <a href=#represents>represents</a> either a
+  </dl><!--TOPIC:HTML--><!--CLEANUP--><p>The <code><a href=#the-area-element>area</a></code> element <a href=#represents>represents</a> either a
   hyperlink with some text and a corresponding area on an <a href=#image-map>image
   map</a>, or a dead area on an image map.</p>
 
+  <p>An <code><a href=#the-area-element>area</a></code> element with a parent node must have a <code><a href=#the-map-element>map</a></code> element
+  ancestor.</p>
+
   <p>If the <code><a href=#the-area-element>area</a></code> element has an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, then the
   <code><a href=#the-area-element>area</a></code> element represents a <a href=#hyperlink>hyperlink</a>. In
   this case, the <dfn id=attr-area-alt title=attr-area-alt><code>alt</code></dfn>

Modified: index
===================================================================
--- index	2013-04-13 16:18:34 UTC (rev 7828)
+++ index	2013-04-13 17:18:03 UTC (rev 7829)
@@ -38831,10 +38831,13 @@
 };
 <a href=#htmlareaelement>HTMLAreaElement</a> implements <a href=#urlutils>URLUtils</a>;</pre>
    </dd>
-  </dl><!--TOPIC:HTML--><p>The <code><a href=#the-area-element>area</a></code> element <a href=#represents>represents</a> either a
+  </dl><!--TOPIC:HTML--><!--CLEANUP--><p>The <code><a href=#the-area-element>area</a></code> element <a href=#represents>represents</a> either a
   hyperlink with some text and a corresponding area on an <a href=#image-map>image
   map</a>, or a dead area on an image map.</p>
 
+  <p>An <code><a href=#the-area-element>area</a></code> element with a parent node must have a <code><a href=#the-map-element>map</a></code> element
+  ancestor.</p>
+
   <p>If the <code><a href=#the-area-element>area</a></code> element has an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, then the
   <code><a href=#the-area-element>area</a></code> element represents a <a href=#hyperlink>hyperlink</a>. In
   this case, the <dfn id=attr-area-alt title=attr-area-alt><code>alt</code></dfn>

Modified: source
===================================================================
--- source	2013-04-13 16:18:34 UTC (rev 7828)
+++ source	2013-04-13 17:18:03 UTC (rev 7829)
@@ -46811,11 +46811,15 @@
 <span>HTMLAreaElement</span> implements <span>URLUtils</span>;</pre>
    </dd>
   </dl><!--TOPIC:HTML-->
+<!--CLEANUP-->
 
   <p>The <code>area</code> element <span>represents</span> either a
   hyperlink with some text and a corresponding area on an <span>image
   map</span>, or a dead area on an image map.</p>
 
+  <p>An <code>area</code> element with a parent node must have a <code>map</code> element
+  ancestor.</p>
+
   <p>If the <code>area</code> element has an <code
   title="attr-hyperlink-href">href</code> attribute, then the
   <code>area</code> element represents a <span>hyperlink</span>. In




More information about the Commit-Watchers mailing list