[Webkit-unassigned] [Bug 57150] Deleteing lists in contentEditable/designMode produces DIV element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 19 09:05:57 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=57150
Aryeh Gregor <ayg at aryeh.name> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ayg at aryeh.name
--- Comment #1 from Aryeh Gregor <ayg at aryeh.name> 2011-08-19 09:05:57 PST ---
The specification says that this should produce <p><br></p>:
http://aryeh.name/spec/editing/editing.html#the-delete-command
It's the case "If node is an li or dt or dd and is the first child of its parent, and offset is zero:". The "fix disallowed ancestors" step below that will turn the <li> into a <p> if it's not the child of an <ol>/<ul>. This is in keeping with the spec's philosophy (adopted from IE/Opera) that every line should be wrapped in a <p> or other "single-line container" (as I chose to call them).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list