- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 17 Jun 2008 22:43:50 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv20601
Modified Files:
Overview.html
Log Message:
Fix an error in the outlining algorithm that broke outlines for documents like <body><h1/><h2/><h3/><h2/>. (credit: jg, gs) (whatwg r1781)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.970
retrieving revision 1.971
diff -u -d -r1.970 -r1.971
--- Overview.html 17 Jun 2008 09:20:47 -0000 1.970
+++ Overview.html 17 Jun 2008 22:43:47 -0000 1.971
@@ -9654,8 +9654,9 @@
section</var>.</p>
<p>Otherwise, if the element being entered has a <a
- href="#rank">rank</a> equal to or greater than the heading of the <var
- title="">current section</var>, then create a new <a href="#section0"
+ href="#rank">rank</a> equal to or greater than the heading of the last
+ section of the <a href="#outline">outline</a> of the <var
+ title="">current outlinee</var>, then create a new <a href="#section0"
title=concept-section>section</a> and append it to the <a
href="#outline">outline</a> of the <var title="">current
outlinee</var> element, so that this new section is the new last
@@ -9698,6 +9699,10 @@
<p>Push the element being entered onto the stack. (This causes the
algorithm to skip any descendants of the element.)</p>
+ <p class=note>Recall that <code><a href="#h1">h1</a></code> has the
+ <em>highest</em> rank, and <code><a href="#h6">h6</a></code> has the
+ lowest rank.</p>
+
<dt>Otherwise
<dd>
Received on Tuesday, 17 June 2008 22:44:27 UTC