[XHTML2] How are UAs to interpret <h> and <hx> elements?

Hi,

XHTML2 does not seem to define the semantics of the <h> and <hX> elements 
in enough detail to implement a user agent that intelligently displays 
sections. For example, I can't work out what the correct document outline 
should be for the following fragment:

   <body>
    <h> AAA </h>
    <p> aaa </p>
    <h3> BBB </h3>
    <p> bbb </p>
    <h2> CCC </h2>
    <section>
     <h6> DDD </h6>
     <p> ddd </p>
     <h1> EEE </h1>
     <ol>
      <li> eee </li>
      <li> <h> FFF </h> </li>
      <li> fff </li>
     </ol>
     <blockquote>
      <p> fff </p>
      <h> GGG </h>
      <p> ggg </p>
     </blockquote>
     <p> ggg </p>
    </section>
    <p> ccc </p>
   </body>

I request that the XHTML2 specification include an algorithm that exactly 
defines how to obtain a document outline from a given XHTML2 document, so 
that user agents can interoperabily represent document outlines.

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 10 June 2005 00:16:20 UTC