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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 3 06:38:58 PDT 2012


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





--- Comment #4 from yi shen <yi.4.shen at nokia.com>  2012-05-03 06:38:57 PST ---
i believe the root cause of this issue is because webkit uses VisibleSelection to represent the selected content/dom nodes, which may lose some information after canonicalization. For example, in Patrick's test, only the Text node ("Magic") can be actually selected since webkit uses VisibleSelection, and that's why we lose the <span> tag after execution the insert list command.

Generally, I don't think we can fix this issue in a small patch since we use VisibleSelection in text selection and html editing everywhere. Niwa & Enrica, what do you think?

(In reply to comment #3)
> (In reply to comment #2)
> > Niwa, are you working on this bug?
> 
> No.

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