[Webkit-unassigned] [Bug 66120] Incorrect data retrieved in calls to get selection data in client->textWillBeReplaced() from CharacterData::setDataAndUpdate

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 11 18:11:57 PDT 2011


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





--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org>  2011-08-11 18:11:57 PST ---
(In reply to comment #0)
> It would seem to make sense to move the textWillBeReplaced() call to after the textRemoved() call, but I would appreciate some input as to why this call is made when it is made.

If we do this, then you'd have to update the code in textWillBeReplaced so that it'll update selection accordingly.  The current code relies on the fact, it's called before the node is updated.

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