[whatwg] Nested list

On Thu, Sep 3, 2009 at 4:33 PM, Ian Hickson <ian at hixie.ch> wrote:
> I don't think nested lists really make much sense -- a list is a list of
> items, and a nested list is just one of the items.

Are you arguing that all major implementations are wrong, and that we need
to fix them?  Even though many Web apps. are relying on this "wrong"
convention?  Doesn't that deviate from what HTML5 is trying to do?  I
personally like XHTML1/2 and I would never produce such invalid (X)HTMLs,
but I don't think that's what the current state of UA implementations and

While I agree that a nested list is one item in the outer list, it is
different from a list inside a "paragraph" which happens to be a list item.

> For example, all major browsers (Firefox, IE, & WebKit) produce
> > slightly different versions of HTML when indenting "item 2" in the
> > following HTML (assume it's content-editable):
> > <ol>
> > <ol id="u1"><li id="i1">item 1</li></ol>
> > <li id="i2">item 2</li>
> > <ol id="u3"><li id="i3">item 3</li></ol>
> > </ol>
> Well that's just very wrong on so many levels. I don't think we want to
> condone it.

That's why I'm suggesting to standarize it.  And do you suppose all UA
implementors would "correct" their behavior?

Ryosuke Niwa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090903/bd89c6da/attachment.htm>

Received on Thursday, 3 September 2009 17:21:42 UTC