[webkit-reviews] review requested: [Bug 31711] Fake drag example does not work properly : [Attachment 43568] Patch proposed to fix the problem

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 20 03:15:25 PST 2009


Alejandro G. Castro <alex at igalia.com> has asked  for review:
Bug 31711: Fake drag example does not work properly
https://bugs.webkit.org/show_bug.cgi?id=31711

Attachment 43568: Patch proposed to fix the problem
https://bugs.webkit.org/attachment.cgi?id=43568&action=review

------- Additional Comments from Alejandro G. Castro <alex at igalia.com>
This is the proposed solution, we had to modify the expected result of the fake
drag because the previous solution did not considered the first moveTo for the
selection which is the same problem. The patch sets m_beganSelectingText in the
EventHandler::handleMousePressEventSingleClick, which means we will use that
selection object as start, not the one created in the first movement. Could
someone knowing the code better than me check the modification, maybe I'm
missing a situation when we create that selection that we do not want to use
it.

I've run the editing tests and all of them have the same result, except the
fake drag but it was wrong before because we do not get all the selected text
from the click.


More information about the webkit-reviews mailing list