Skip to content

Commit

Permalink
[e] (0) Add a note about <li><h1>.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=14486
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@6925 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 27, 2012
1 parent 32ad403 commit 4d2d3f3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -19810,7 +19810,11 @@ <h4 id=the-li-element><span class=secno>4.5.7 </span>The <dfn><code>li</code></d
<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>



Expand Down
6 changes: 5 additions & 1 deletion index
Original file line number Diff line number Diff line change
Expand Up @@ -19810,7 +19810,11 @@ I first lived there):&lt;/p&gt;
<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>



Expand Down
6 changes: 5 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -21238,7 +21238,11 @@ I first lived there):&lt;/p>
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>



Expand Down

0 comments on commit 4d2d3f3

Please sign in to comment.