W3C home > Mailing lists > Public > www-html-editor@w3.org > April to 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>


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:

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

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.

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:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:54 UTC