Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (0) Associate sectioning elements with their sections, in case any…
…one actually tries to use this algorithm as written even for sections.

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

git-svn-id: http://svn.whatwg.org/webapps@6092 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 6, 2011
1 parent af1bac0 commit 3a3ebc7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
8 changes: 5 additions & 3 deletions complete.html
Expand Up @@ -17871,6 +17871,8 @@ <h5 id=outlines><span class=secno>4.4.11.1 </span>Creating an outline</h5>
<p>Let <var title="">current section</var> be a newly created
<a href=#concept-section title=concept-section>section</a> for the <var title="">current outlinee</var> element.</p>

<p>Associate <var title="">current outlinee</var> with <var title="">current section</var>.</p>

<p>Let there be a new <a href=#outline>outline</a> for the new <var title="">current outlinee</var>, initialized with just the new
<var title="">current section</var> as the only <a href=#concept-section title=concept-section>section</a> in the outline.</p>

Expand Down Expand Up @@ -17993,9 +17995,9 @@ <h5 id=outlines><span class=secno>4.4.11.1 </span>Creating an outline</h5>
<dd><p>Do nothing.</dd>

</dl><p id=associatedSection>In addition, whenever you exit a node,
after doing the steps above, if <var title="">current
section</var> is not null, associate the node with the <a href=#concept-section title=concept-section>section</a> <var title="">current
section</var>.</p>
after doing the steps above, if the node is not associated with a
<a href=#concept-section title=concept-section>section</a> yet and <var title="">current section</var> is not null, associate the node
with the <a href=#concept-section title=concept-section>section</a> <var title="">current section</var>.</p>

</li>

Expand Down
8 changes: 5 additions & 3 deletions index
Expand Up @@ -17896,6 +17896,8 @@ isn't his only passion. He also enjoys other pleasures.&lt;/p&gt;
<p>Let <var title="">current section</var> be a newly created
<a href=#concept-section title=concept-section>section</a> for the <var title="">current outlinee</var> element.</p>

<p>Associate <var title="">current outlinee</var> with <var title="">current section</var>.</p>

<p>Let there be a new <a href=#outline>outline</a> for the new <var title="">current outlinee</var>, initialized with just the new
<var title="">current section</var> as the only <a href=#concept-section title=concept-section>section</a> in the outline.</p>

Expand Down Expand Up @@ -18018,9 +18020,9 @@ isn't his only passion. He also enjoys other pleasures.&lt;/p&gt;
<dd><p>Do nothing.</dd>

</dl><p id=associatedSection>In addition, whenever you exit a node,
after doing the steps above, if <var title="">current
section</var> is not null, associate the node with the <a href=#concept-section title=concept-section>section</a> <var title="">current
section</var>.</p>
after doing the steps above, if the node is not associated with a
<a href=#concept-section title=concept-section>section</a> yet and <var title="">current section</var> is not null, associate the node
with the <a href=#concept-section title=concept-section>section</a> <var title="">current section</var>.</p>

</li>

Expand Down
12 changes: 8 additions & 4 deletions source
Expand Up @@ -19160,6 +19160,9 @@ isn't his only passion. He also enjoys other pleasures.&lt;/p>
<span title="concept-section">section</span> for the <var
title="">current outlinee</var> element.</p>

<p>Associate <var title="">current outlinee</var> with <var
title="">current section</var>.</p>

<p>Let there be a new <span>outline</span> for the new <var
title="">current outlinee</var>, initialized with just the new
<var title="">current section</var> as the only <span
Expand Down Expand Up @@ -19309,10 +19312,11 @@ isn't his only passion. He also enjoys other pleasures.&lt;/p>
</dl>

<p id="associatedSection">In addition, whenever you exit a node,
after doing the steps above, if <var title="">current
section</var> is not null, associate the node with the <span
title="concept-section">section</span> <var title="">current
section</var>.</p>
after doing the steps above, if the node is not associated with a
<span title="concept-section">section</span> yet and <var
title="">current section</var> is not null, associate the node
with the <span title="concept-section">section</span> <var
title="">current section</var>.</p>

</li>

Expand Down

0 comments on commit 3a3ebc7

Please sign in to comment.