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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 5 12:56:54 PDT 2012


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





--- Comment #7 from Ryosuke Niwa <rniwa at webkit.org>  2012-05-05 12:56:54 PST ---
(In reply to comment #6)
> 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? 

No. We should always extend the selection to include the span. There is no way to just indent the text inside the span since the span shouldn't have non-phrasing elements (e.g. ul, li) as its children.

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