[whatwg] Request: Explicit grouping within <dl>
giecrilj at stegny.2a.pl
Sat May 26 01:28:55 PDT 2007
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).
Of course, all of this can be achieved under the present state of affairs.
Can anybody show us an existing implementation in order make the idea less
From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Ian Hickson
Sent: Friday, May 25, 2007 4:33 AM
Cc: whatwg at whatwg.org
Subject: Re: [whatwg] Request: Explicit grouping within <dl>
On Fri, 25 May 2007, Sander wrote:
> In the current specs <dt>s and <dd>s are only grouped imlicitly. This
> leaves us with a DOM where <dt>s and <dd>s that are not related in as
> term&description share the same parent. I'd like to see a way to
> seperate the 'siblings' from the 'cousins' in a more explicit way.
> Something along the line of the <di> from the XHTML 2 specs
> A <di> (to stick to that name) will enhance the logics of the DOM
> structure and will give better hooks for layout and behaviour.
I don't see how it will enhance the logics of the DOM structure. It would
just introduce yet another way for authors to get the logic wrong, in
fact. The meaning wouldn't change with <di>.
As far as styling goes (the hooks for layout and behaviour), I would
recommend asking the CSS working group to fix CSS.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg