[Webkit-unassigned] [Bug 31678] contentEditable doesn't wrap elements around content until after the first line
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 19 09:08:35 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=31678
Aryeh Gregor <ayg at aryeh.name> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |ayg at aryeh.name
Ever Confirmed|0 |1
--- Comment #1 from Aryeh Gregor <ayg at aryeh.name> 2011-08-19 09:08:35 PST ---
I specced IE/Opera's behavior, which is to wrap every line in a <p>, including the current one as soon as the user hits enter:
http://aryeh.name/spec/editing/editing.html#the-insertparagraph-command
The relevant case is "If container is not editable or not in the same editing host as node or is not a single-line container:". This basically wraps the current line in a <p>, although admittedly that's unlikely to be clear on a casual read.
I specced it this way because I agree that it's useful for every line to have a wrapper, so that they can be handled consistently.
--
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