W3C home > Mailing lists > Public > www-html@w3.org > June 2005

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

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 10 Jun 2005 00:16:15 +0000 (UTC)
To: www-html@w3.org
Cc: www-html-editor@w3.org, xhtml2-issues@hades.mn.aptest.com
Message-ID: <Pine.LNX.4.61.0506100010060.31439@dhalsim.dreamhost.com>


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

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:03 UTC