RESOLVED FIXED 127834
EventHandler::handleMouseReleaseEvent shouldn't call updateSelectionCachesIfSelectionIsInsideTextFormControl and selectFrameElementInParentIfFullySelected
https://bugs.webkit.org/show_bug.cgi?id=127834
Summary EventHandler::handleMouseReleaseEvent shouldn't call updateSelectionCachesIfS...
Ryosuke Niwa
Reported 2014-01-29 00:30:22 PST
It's bogus to call notifyRendererOfSelectionChange and selectFrameElementInParentIfFullySelected in EventHandler::handleMouseReleaseEvent since setSelection should be calling those functions as needed. We do this because FrameSelection::setNonDirectionalSelectionIfNeeded doesn't call setSelection with EUserTriggered option :(
Attachments
Cleanup (8.10 KB, patch)
2014-01-29 01:54 PST, Ryosuke Niwa
ap: review+
Ryosuke Niwa
Comment 1 2014-01-29 01:54:00 PST
Ryosuke Niwa
Comment 2 2014-01-29 17:49:56 PST
Note You need to log in before you can comment on or make changes to this bug.