Skip to content

Commit

Permalink
[t] (2) Update the outline algorithm to generate implicit headings, a…
Browse files Browse the repository at this point in the history
…nd to create a new section for headings that come after subsections that come before the first heading of their parent section.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7527

git-svn-id: http://svn.whatwg.org/webapps@3962 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 22, 2009
1 parent 9c68803 commit f187a34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -14027,6 +14027,10 @@ isn't his only passion. He also enjoys other pleasures.</p>

<dd>

<p>If <var title="">current outlinee</var> is not null, and the
<var title="">current section</var> has no heading, create an
implied heading and let that be the heading for the <var title="">current section</var>.</p>

<p>If <var title="">current outlinee</var> is not null, push
<var title="">current outlinee</var> onto the stack.</p>

Expand Down
5 changes: 5 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -14891,6 +14891,11 @@ isn't his only passion. He also enjoys other pleasures.&lt;/p>

<dd>

<p>If <var title="">current outlinee</var> is not null, and the
<var title="">current section</var> has no heading, create an
implied heading and let that be the heading for the <var
title="">current section</var>.</p>

<p>If <var title="">current outlinee</var> is not null, push
<var title="">current outlinee</var> onto the stack.</p>

Expand Down

0 comments on commit f187a34

Please sign in to comment.