W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2008

[whatwg] INS and DEL in lists

From: Krzysztof Żelechowski <giecrilj@stegny.2a.pl>
Date: Thu, 27 Mar 2008 18:28:57 +0100
Message-ID: <1206638938.6577.14.camel@a1dmin.vola.spe.com.pl>

Dnia 26-03-2008, ?r o godzinie 12:42 -0500, Tab Atkins Jr. pisze:

>         
> I'm coming around to the opinion that <dl>, <ul>, and <ol> (and the
> new list elements in html5) should allow a larger set of elements as
> their direct children.  I've been playing around with <hn> within <ul>
> or <ol> (with the intended semantics being that it's a header *for the
> list*), as it provides a nice tight binding that makes it easier to
> style and move around with CSS.  I could also use <section> or <div>,
> of course, but my solution communicates exactly the semantics I want
> and nothing else.

OTOH it breaks the context-free structure of the DTD: 
INS can have LI only if within a list.
I am not sure it is DTD-able.

(Yes, it would make a counterargument to my own wish :-b)

Chris
Received on Thursday, 27 March 2008 10:28:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:40 UTC