Bug 16004 - Headings and sections (example is incorrect?)
Headings and sections (example is incorrect?)
Status: RESOLVED WONTFIX
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec author view
unspecified
PC Linux
: P2 normal
: ---
Assigned To: Michael[tm] Smith
HTML WG Bugzilla archive list
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-16 18:54 UTC by Alexander Zynevich
Modified: 2012-02-16 18:58 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Zynevich 2012-02-16 18:54:15 UTC
<body>
 <h4>Apples</h4>
 <p>Apples are fruit.</p>
 <section>
  <h2>Taste</h2>
  <p>They taste lovely.</p>
  <h6>Sweet</h6>
  <p>Red apples are sweeter than green ones.</p>
  <h1>Color</h1>
  <p>Apples come in various colors.</p>
 </section>
</body>

probably it should be equivalent of 
<body>
 <h4>Apples</h4>
 <p>Apples are fruit.</p>
 <section>
  <h2>Taste</h2>
  <p>They taste lovely.</p>
  <section>
    <h6>Sweet</h6>
    <p>Red apples are sweeter than green ones.</p>
  </section>
  <section>
    <h1>Color</h1>
    <p>Apples come in various colors.</p>
  </section>
 </section>
</body>

and NOT as stated in the current version of document (Draft 09 August 2011):
<body>
 <h1>Apples</h1>
 <p>Apples are fruit.</p>
 <section>
  <h2>Taste</h2>
  <p>They taste lovely.</p>
  <section>
   <h3>Sweet</h3>
   <p>Red apples are sweeter than green ones.</p>
  </section>
 </section>
 <section>
  <h2>Color</h2>
  <p>Apples come in various colors.</p>
 </section>
</body>
Comment 1 Alexander Zynevich 2012-02-16 18:58:14 UTC
"works" as designed. Never mind