[Webkit-unassigned] [Bug 21843] execCommand removeFormat is blowing away text outside the selection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 10 13:46:19 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=21843





------- Comment #1 from eric at webkit.org  2009-03-10 13:46 PDT -------
Entertainingly if you start with:
<ul><li>one</li><li>two</li>selection</ul>
and hit enter with your cursor just before "selection", then you get:
<ul><li>one</li><li>two</li><ul><br></ul>selection</ul>

I'm not sure what we're supposed to do here.  Maybe we're supposed to make the
HTML valid before we perform any operations on it?


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list