W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2011

[Bug 13128] Allow wrapping list items in DIV elements

From: <bugzilla@jessica.w3.org>
Date: Wed, 06 Jul 2011 22:43:52 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Qeaoy-0002mC-MX@jessica.w3.org>

--- Comment #5 from Marat Tanalin <mtanalin@yandex.ru> 2011-07-06 22:43:51 UTC ---
(In reply to comment #3)
> For <ul> and <ol>, there is no need for this.

Need or not, this _does_ work in real browsers and should be just documented
into spec to make it formally (that's all) valid.

> Anything you can do by wrapping
> <li> in <div>, you can instead accomplish by moving the <div> inside the <li>

No. The bug is _not_ about wrapping _single_ LI in DIV at all (that would be of
course pointless). Code examples in bug description are more than clear.

> The one place that still has a problem is in styling a single <dl> "item" -
> that is, a single set of <dt>s/<dd>s.  This has been discussed many times in
> the past, and it's still probably something that should be solved at the CSS
> side, as the necessary relationships are already present in the HTML.

This has nothing to do with the current bug.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 6 July 2011 22:43:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:55 UTC