[html5] r6925 - [e] (0) Add a note about <li><h1>. Fixing https://www.w3.org/Bugs/Public/show_bu [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Jan 27 10:55:52 PST 2012


Author: ianh
Date: 2012-01-27 10:55:51 -0800 (Fri, 27 Jan 2012)
New Revision: 6925

Modified:
   complete.html
   index
   source
Log:
[e] (0) Add a note about <li><h1>.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=14486
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-01-27 00:30:42 UTC (rev 6924)
+++ complete.html	2012-01-27 18:55:51 UTC (rev 6925)
@@ -19810,10 +19810,14 @@
   <code><a href=#the-li-element>li</a></code> element will match the <code title=selector-enabled><a href=#selector-enabled>:enabled</a></code> and <code title=selector-disabled><a href=#selector-disabled>:disabled</a></code> pseudo-classes in the
   same way as the first such child element does.</p>
 
+  <p class=note>While it is conforming to include heading elements
+  (e.g. <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code>) inside <code><a href=#the-li-element>li</a></code> elements, it likely
+  does not convey the semantics that the author intended. A heading
+  starts a new section, so a heading in a list implicitly splits the
+  list into spanning multiple sections.</p>
 
 
 
-
   <h4 id=the-dl-element><span class=secno>4.5.8 </span>The <dfn><code>dl</code></dfn> element</h4>
 
   <dl class=element><dt><a href=#element-dfn-categories title=element-dfn-categories>Categories</a>:</dt>

Modified: index
===================================================================
--- index	2012-01-27 00:30:42 UTC (rev 6924)
+++ index	2012-01-27 18:55:51 UTC (rev 6925)
@@ -19810,10 +19810,14 @@
   <code><a href=#the-li-element>li</a></code> element will match the <code title=selector-enabled><a href=#selector-enabled>:enabled</a></code> and <code title=selector-disabled><a href=#selector-disabled>:disabled</a></code> pseudo-classes in the
   same way as the first such child element does.</p>
 
+  <p class=note>While it is conforming to include heading elements
+  (e.g. <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code>) inside <code><a href=#the-li-element>li</a></code> elements, it likely
+  does not convey the semantics that the author intended. A heading
+  starts a new section, so a heading in a list implicitly splits the
+  list into spanning multiple sections.</p>
 
 
 
-
   <h4 id=the-dl-element><span class=secno>4.5.8 </span>The <dfn><code>dl</code></dfn> element</h4>
 
   <dl class=element><dt><a href=#element-dfn-categories title=element-dfn-categories>Categories</a>:</dt>

Modified: source
===================================================================
--- source	2012-01-27 00:30:42 UTC (rev 6924)
+++ source	2012-01-27 18:55:51 UTC (rev 6925)
@@ -21238,10 +21238,14 @@
   title="selector-disabled">:disabled</code> pseudo-classes in the
   same way as the first such child element does.</p>
 
+  <p class="note">While it is conforming to include heading elements
+  (e.g. <code>h1</code>) inside <code>li</code> elements, it likely
+  does not convey the semantics that the author intended. A heading
+  starts a new section, so a heading in a list implicitly splits the
+  list into spanning multiple sections.</p>
 
 
 
-
   <h4>The <dfn><code>dl</code></dfn> element</h4>
 
   <dl class="element">




More information about the Commit-Watchers mailing list