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

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

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 10 Jun 2005 09:15:39 +0000 (UTC)
To: Jim Ley <jim@jibbering.com>
Cc: www-html@w3.org
Message-ID: <Pine.LNX.4.61.0506100911280.31439@dhalsim.dreamhost.com>

On Fri, 10 Jun 2005, Jim Ley wrote:
>
> I agree that it's under specified, almost all of XHTML 2 is, my comment 
> though was based purely on:
> 
> " request that the XHTML2 specification include an algorithm that 
> exactly defines how to obtain a document outline from a given XHTML2 
> document"
> 
> Perhaps it's us having a different idea of what a "document outline" is, 
> but whilst I want Hx/h/section to be well defined, I don't want a 
> specific algorithm for creating document outlines, a user agent should 
> be free to use any piece of content etc. in creating a document outline 
> to present the user. Of course if by document outline you mean something 
> different to me, then fair enough!

I just mean an algorithm that maps every node in the document to its 
header, or equivalently every header in the document to the list of nodes 
that are in its section, with a definition of how each such "section" 
relates to other sections in the document, structurally.

Which happens to be exactly what you need to know to create an outline, 
so in the interests of simplicity and clarity I figured it was easier to 
just ask for an algorithm for creating an outline.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 10 June 2005 09:15:45 UTC

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