[html5] r8649 - [t] (1) Make the outline algorithm also associate text nodes and comments with t [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri May 23 13:05:43 PDT 2014
Author: ianh
Date: 2014-05-23 13:05:41 -0700 (Fri, 23 May 2014)
New Revision: 8649
Modified:
complete.html
index
source
Log:
[t] (1) Make the outline algorithm also associate text nodes and comments with the sections
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25870
Affected topics: HTML
Modified: complete.html
===================================================================
--- complete.html 2014-05-22 18:52:16 UTC (rev 8648)
+++ complete.html 2014-05-23 20:05:41 UTC (rev 8649)
@@ -290,7 +290,7 @@
</script><body onload=init()>
<header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 22 May 2014</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 23 May 2014</h2>
</hgroup><div>
<div>
<a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>
@@ -15703,9 +15703,12 @@
</li>
- <li><p>Associate all nodes with the heading of the <a href=#concept-section title=concept-section>section</a>
- with which they are associated, if any.</li>
+ <li><p>Associate all non-element nodes that are in the subtree for which an outline is being
+ created with the <a href=#concept-section title=concept-section>section</a> with which their parent element is
+ associated.</li>
+ <li><p>Associate all nodes in the subtree with the heading of the <a href=#concept-section title=concept-section>section</a> with which they are associated, if any.</li>
+
</ol><p>The tree of sections created by the algorithm above, or a proper subset thereof, must be used
when generating document outlines, for example when generating tables of contents.</p>
@@ -48940,7 +48943,7 @@
<p class=example>For example, it would not be conforming if the user agent decided that it
should offer the address it knows to be the user's daughter's address for "<code title="">section-child</code>" and the addresses it knows to be the user's spouses' addresses for
- "<code title="">section-spouse</code>".
+ "<code title="">section-spouse</code>".</p>
<p>The autocompletion mechanism must be implemented by the user agent acting as if the user had
modified the <a href="#control's-data">control's data</a>, and must be done at a time where the element is <i title=concept-fe-mutable><a href=#concept-fe-mutable>mutable</a></i> (e.g. just after the element has been inserted into the
Modified: index
===================================================================
--- index 2014-05-22 18:52:16 UTC (rev 8648)
+++ index 2014-05-23 20:05:41 UTC (rev 8649)
@@ -290,7 +290,7 @@
</script><body onload=init()>
<header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 22 May 2014</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 23 May 2014</h2>
</hgroup><div>
<div>
<a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>
@@ -15703,9 +15703,12 @@
</li>
- <li><p>Associate all nodes with the heading of the <a href=#concept-section title=concept-section>section</a>
- with which they are associated, if any.</li>
+ <li><p>Associate all non-element nodes that are in the subtree for which an outline is being
+ created with the <a href=#concept-section title=concept-section>section</a> with which their parent element is
+ associated.</li>
+ <li><p>Associate all nodes in the subtree with the heading of the <a href=#concept-section title=concept-section>section</a> with which they are associated, if any.</li>
+
</ol><p>The tree of sections created by the algorithm above, or a proper subset thereof, must be used
when generating document outlines, for example when generating tables of contents.</p>
@@ -48940,7 +48943,7 @@
<p class=example>For example, it would not be conforming if the user agent decided that it
should offer the address it knows to be the user's daughter's address for "<code title="">section-child</code>" and the addresses it knows to be the user's spouses' addresses for
- "<code title="">section-spouse</code>".
+ "<code title="">section-spouse</code>".</p>
<p>The autocompletion mechanism must be implemented by the user agent acting as if the user had
modified the <a href="#control's-data">control's data</a>, and must be done at a time where the element is <i title=concept-fe-mutable><a href=#concept-fe-mutable>mutable</a></i> (e.g. just after the element has been inserted into the
Modified: source
===================================================================
--- source 2014-05-22 18:52:16 UTC (rev 8648)
+++ source 2014-05-23 20:05:41 UTC (rev 8649)
@@ -16355,9 +16355,13 @@
</li>
- <li><p>Associate all nodes with the heading of the <span data-x="concept-section">section</span>
- with which they are associated, if any.</p></li>
+ <li><p>Associate all non-element nodes that are in the subtree for which an outline is being
+ created with the <span data-x="concept-section">section</span> with which their parent element is
+ associated.</p></li>
+ <li><p>Associate all nodes in the subtree with the heading of the <span
+ data-x="concept-section">section</span> with which they are associated, if any.</p></li>
+
</ol>
<p>The tree of sections created by the algorithm above, or a proper subset thereof, must be used
@@ -52701,7 +52705,7 @@
<p class="example">For example, it would not be conforming if the user agent decided that it
should offer the address it knows to be the user's daughter's address for "<code
data-x="">section-child</code>" and the addresses it knows to be the user's spouses' addresses for
- "<code data-x="">section-spouse</code>".
+ "<code data-x="">section-spouse</code>".</p>
<p>The autocompletion mechanism must be implemented by the user agent acting as if the user had
modified the <span>control's data</span>, and must be done at a time where the element is <i
More information about the Commit-Watchers
mailing list