[html5] r4995 - [e] (0) Add a quite contrived example for <hr>. Fixing http://www.w3.org/Bugs/Pu [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Apr 12 00:27:12 PDT 2010


Author: ianh
Date: 2010-04-12 00:27:11 -0700 (Mon, 12 Apr 2010)
New Revision: 4995

Modified:
   complete.html
   index
   source
Log:
[e] (0) Add a quite contrived example for <hr>.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9371

Modified: complete.html
===================================================================
--- complete.html	2010-04-12 06:47:16 UTC (rev 4994)
+++ complete.html	2010-04-12 07:27:11 UTC (rev 4995)
@@ -16155,6 +16155,53 @@
 
   <div class=example>
 
+   <p>The following fictional extract from a project manual shows two
+   sections that use the <code><a href=#the-hr-element>hr</a></code> element to separate topics
+   within the section.</p>
+
+   <pre><section>
+ <h1>Communication</h1>
+ <p>There are various methods of communication. This section
+ covers a few of the important ones used by the project.</p>
+ <strong><hr></strong>
+ <p>Communication stones seem to come in pairs and have mysterious
+ properties:</p>
+ <ul>
+  <li>They can transfer thoughts in two directions once activated
+  if used alone.</li>
+  <li>If used with another device, they can transfer one's
+  consciousness to another body.</li>
+  <li>If both stones are used with another device, the
+  consciousnesses switch bodies.</li>
+ </ul>
+ <strong><hr></strong>
+ <p>Radios use the electromagnetic spectrum in the meter range and
+ longer.</p>
+ <strong><hr></strong>
+ <p>Signal flares use the electromagnetic spectrum in the
+ nanometer range.</p>
+</section>
+<section>
+ <h1>Food</h1>
+ <p>All food at the project is rationed:</p>
+ <dl>
+  <dt>Potatoes</dt>
+  <dd>Two per day</dd>
+  <dt>Soup</dt>
+  <dd>One bowl per day</dd>
+ </dl>
+ <strong><hr></strong>
+ <p>Cooking is done by the chefs on a set rotation.</p>
+</section></pre>
+
+   <p>There is no need for an <code><a href=#the-hr-element>hr</a></code> element between the
+   sections themselves, since the <code><a href=#the-section-element>section</a></code> elements and
+   the <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> elements imply thematic changes themselves.</p>
+
+  </div>
+
+  <div class=example>
+
    <p>The following extract from <cite>Pandora's Star</cite> by Peter
    F. Hamilton shows two paragraphs that precede a scene change and
    the paragraph that follows it. The scene change, represented in the

Modified: index
===================================================================
--- index	2010-04-12 06:47:16 UTC (rev 4994)
+++ index	2010-04-12 07:27:11 UTC (rev 4995)
@@ -16053,6 +16053,53 @@
 
   <div class=example>
 
+   <p>The following fictional extract from a project manual shows two
+   sections that use the <code><a href=#the-hr-element>hr</a></code> element to separate topics
+   within the section.</p>
+
+   <pre><section>
+ <h1>Communication</h1>
+ <p>There are various methods of communication. This section
+ covers a few of the important ones used by the project.</p>
+ <strong><hr></strong>
+ <p>Communication stones seem to come in pairs and have mysterious
+ properties:</p>
+ <ul>
+  <li>They can transfer thoughts in two directions once activated
+  if used alone.</li>
+  <li>If used with another device, they can transfer one's
+  consciousness to another body.</li>
+  <li>If both stones are used with another device, the
+  consciousnesses switch bodies.</li>
+ </ul>
+ <strong><hr></strong>
+ <p>Radios use the electromagnetic spectrum in the meter range and
+ longer.</p>
+ <strong><hr></strong>
+ <p>Signal flares use the electromagnetic spectrum in the
+ nanometer range.</p>
+</section>
+<section>
+ <h1>Food</h1>
+ <p>All food at the project is rationed:</p>
+ <dl>
+  <dt>Potatoes</dt>
+  <dd>Two per day</dd>
+  <dt>Soup</dt>
+  <dd>One bowl per day</dd>
+ </dl>
+ <strong><hr></strong>
+ <p>Cooking is done by the chefs on a set rotation.</p>
+</section></pre>
+
+   <p>There is no need for an <code><a href=#the-hr-element>hr</a></code> element between the
+   sections themselves, since the <code><a href=#the-section-element>section</a></code> elements and
+   the <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> elements imply thematic changes themselves.</p>
+
+  </div>
+
+  <div class=example>
+
    <p>The following extract from <cite>Pandora's Star</cite> by Peter
    F. Hamilton shows two paragraphs that precede a scene change and
    the paragraph that follows it. The scene change, represented in the

Modified: source
===================================================================
--- source	2010-04-12 06:47:16 UTC (rev 4994)
+++ source	2010-04-12 07:27:11 UTC (rev 4995)
@@ -17062,6 +17062,53 @@
 
   <div class="example">
 
+   <p>The following fictional extract from a project manual shows two
+   sections that use the <code>hr</code> element to separate topics
+   within the section.</p>
+
+   <pre><section>
+ <h1>Communication</h1>
+ <p>There are various methods of communication. This section
+ covers a few of the important ones used by the project.</p>
+ <strong><hr></strong>
+ <p>Communication stones seem to come in pairs and have mysterious
+ properties:</p>
+ <ul>
+  <li>They can transfer thoughts in two directions once activated
+  if used alone.</li>
+  <li>If used with another device, they can transfer one's
+  consciousness to another body.</li>
+  <li>If both stones are used with another device, the
+  consciousnesses switch bodies.</li>
+ </ul>
+ <strong><hr></strong>
+ <p>Radios use the electromagnetic spectrum in the meter range and
+ longer.</p>
+ <strong><hr></strong>
+ <p>Signal flares use the electromagnetic spectrum in the
+ nanometer range.</p>
+</section>
+<section>
+ <h1>Food</h1>
+ <p>All food at the project is rationed:</p>
+ <dl>
+  <dt>Potatoes</dt>
+  <dd>Two per day</dd>
+  <dt>Soup</dt>
+  <dd>One bowl per day</dd>
+ </dl>
+ <strong><hr></strong>
+ <p>Cooking is done by the chefs on a set rotation.</p>
+</section></pre>
+
+   <p>There is no need for an <code>hr</code> element between the
+   sections themselves, since the <code>section</code> elements and
+   the <code>h1</code> elements imply thematic changes themselves.</p>
+
+  </div>
+
+  <div class="example">
+
    <p>The following extract from <cite>Pandora's Star</cite> by Peter
    F. Hamilton shows two paragraphs that precede a scene change and
    the paragraph that follows it. The scene change, represented in the




More information about the Commit-Watchers mailing list