[Webkit-unassigned] [Bug 76514] execCommand insertorderedlist changes markup

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 3 12:36:26 PDT 2012


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





--- Comment #6 from yi shen <yi.4.shen at nokia.com>  2012-05-03 12:36:26 PST ---
hmm, how does the InsertListCommand know whether it should extend the visible selection? Considering following two cases, 1) user selected the text "Magic" only. 2) user selected the text "Magic" with the surrounding span tag. The InsertListCommand should only extend the visible selection for case 2, right? 

(In reply to comment #5)
> I don't think we should be deleting span in this case though. In addition, InsertListCommand has some logic to extend the visible selection to include all elements around the selection so I'm not sure why that logic isn't kicking in.

-- 
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