Skip to content

Commit

Permalink
updated note about effect of sections/heading on lists
Browse files Browse the repository at this point in the history
mention sectioning content as well as headings
fixes w3c#279
  • Loading branch information
stevefaulkner authored and arronei committed Apr 17, 2017
1 parent 1290223 commit f6f623a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions sections/semantics-grouping-content.include
Original file line number Diff line number Diff line change
Expand Up @@ -1070,9 +1070,11 @@
</div>

<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.
While it is conforming to include heading elements (e.g., <code>h2</code>) and <a>Sectioning content</a>
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. <a>Sectioning content</a> explicitly creates a new section and so splits the
list into spanning multiple sections.
</p>

<h4 id="the-dl-element">The <dfn element><code>dl</code></dfn> element</h4>
Expand Down

0 comments on commit f6f623a

Please sign in to comment.