We should be firing selectionchange event. It's fired in FrameSelection::setSelection but our implementation of selectionchange event is asynchronous.
On Fri, Feb 15, 2013 at 2:07 AM, vineeth <nvine...@gmail.com> wrote: > Hello, > I have a usecase in which I need document.onselectionchange to be fired > when I click on an img, the way it happens for text nodes. Can someone pls > help the function/class to look into. I am currently going through > EventHandler.cpp and > EventHandler::updateSelectionForMouseDownDispatchingSelectStart but > haven't made much progress. > > Thanks. > --Vineeth > > _______________________________________________ > webkit-dev mailing list > webkit-dev@lists.webkit.org > https://lists.webkit.org/mailman/listinfo/webkit-dev > >
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev