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

Ian Yang ian at invigoreight.com
Thu Jul 19 17:52:21 PDT 2012


On Fri, Jul 20, 2012 at 2:02 AM, Alex Bishop <alexbishop at gmail.com> wrote:

> On 19/07/2012 08:04, Ian Yang wrote:
>
>> Since the *optional *use of <li> in <dl> could solve many problems, may we
>>
>> have <li> being valid in <dl>?
>>
>
> Probably not, as it has similar drawbacks as the proposed <di> element:
>
>
> http://wiki.whatwg.org/wiki/FAQ#HTML_should_group_.3Cdt.3Es_and_.3Cdd.3Es_together_in_.3Cdi.3Es.21
>

Thanks. However, the drawbacks mentioned in that document is about the
nonexistent <di>, not the existent <li>.

<li> in <dl> is rendered without problems in IE6+, FF3.6+, Chrome, and
Safari. Only in Opera that definition term and the bullet aren't at the
same line.

Furthermore, browsers need to be compliant with the standards, not the
standers need to be compliant with browsers. If the latter were true, we
wouldn't have had so many new HTML5 elements to use.


Sincerely,
Ian Yang



More information about the whatwg mailing list