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: Sun, 10 Jul 2011 19:47:40 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Qfzye-0008Ci-3x@jessica.w3.org>

--- Comment #6 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2011-07-10 19:47:37 UTC ---
It turns out another reason I want this is for execCommand().  Suppose you have
markup like

  <ol style=color:red>

and the user selects the inner list and runs execCommand("outdent").  This
should get rid of the inner list and make its two items items of the outer
<ol>, but should also preserve the style.  If the spec allowed it, I would make
it do

  <div style=color:red>

Reapplying the style to the children will work in execCommand()-specific cases,
but it won't work for arbitrary style.  Consider background-color, or border,
or things like that.  Explicit meaningless wrappers are sometimes necessary in
CSS, and that's not going to change.

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 Sunday, 10 July 2011 19:47:41 UTC

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