[Webkit-unassigned] [Bug 39798] No selection notification for editing operation that doesn't change the selection's DOM position

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 15 10:21:06 PDT 2010


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





--- Comment #5 from Justin Garcia <justin.garcia at apple.com>  2010-06-15 10:21:05 PST ---
The operations "change" the selection, but the fact that the operations don't *change the selection's location in the DOM* is just an implementation detail.  

Note for example that RTL -> LTR *will* result in a call to respondToChangedSelection() if the DOM was:

<div contentEditable="true" style="direction: RTL">^<br></div>

since a new div will need to be created to give the paragraph direction:LTR.  This will change the DOM enough to change the selection's DOM location after the operation.

I don't see any reason why we should start a new kill ring sequence for this DOM but not the one mentioned in the bug.  Same for the change notification.

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