[whatwg] Request: Explicit grouping within <dl>

I had in mind the benefit of the author who writes JavaScript code for some
specific HTML document.  In this case, ho either knows how the page is
organized or has some control over it.  I did not consider general HTML
processing tools here.  Those are much rarer than scripts devised for
specific pages and their authors generally are more skilled so they can
handle the additional difficulty.
Chris

-----Original Message-----
From: whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Henri Sivonen
Sent: Saturday, May 26, 2007 11:36 AM
To: Kristof Zelechovski
Cc: whatwg at whatwg.org; 'Sander'; 'Ian Hickson'
Subject: Re: [whatwg] Request: Explicit grouping within <dl>

On May 26, 2007, at 11:28, Kristof Zelechovski wrote:

> Were such nesting specified and implemented, it would be easier to  
> iterate
> over definitions, and finding the DT given a DD and vice versa  
> would be
> easier (no chance of accidentally leaving the DI).

No, it would actually make it harder, because markup consumers would  
need to support both implicit grouping (been out there for years-- 
can't undo it) *and* explicit grouping.

Besides, iterating over implicitly grouped definitions is from the  
easy end of the spectrum of things that markup consumers might  
implement.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/

Received on Saturday, 26 May 2007 02:48:00 UTC