W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2012

Re: [whatwg] Suggest making <dt> and <dd> valid in <ol>

From: Ian Yang <ian.html@gmail.com>
Date: Sat, 14 Jul 2012 23:50:57 +0800
Message-ID: <CAFhBhuPN8_FHAkm6mZ=NHbsQD759PjF0Eh+2AOqM_AwNOYVvBQ@mail.gmail.com>
To: whatwg@whatwg.org
2012/7/14 Anne van Kesteren <annevk@annevk.nl>

> I would recommend not over-thinking the matter. Otherwise soon you
> will start wrapping your <p>s in <ol>/<li>s too to ensure they stay in
> the correct order.
>

That wouldn't be the problem. General <p>s of an article never are list
contents, so we surely won't wrap them in <ol>/<li>s.


> Using <dl> for ordered groups is perfectly fine.
>
> (The specification points this out as well: "The order of the list of
> groups, and of the names and values within each group, may be
> significant.")
>

Thanks for the info about the spec saying in <dl> the order of the list of
groups *may* be significant. However, what it says means a <dl> itself is
unable to tell whether its contents are unordered or ordered, and we have
to judge that by ourselves.

Comparing to <ul> and <ol> which themselves are able to tell whether their
contents are unordered and ordered, the <dl> itself being unable to do that
is, imho, disappointing.


Sincerely,
Ian Yang
Received on Saturday, 14 July 2012 15:51:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:09 GMT