[Webkit-unassigned] [Bug 114063] Modifying DOMSelection causes mouse drag tracking code revert to default selection direction

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 5 16:37:49 PDT 2013


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





--- Comment #3 from Nathan Vander Wilt <natevw at yahoo.com>  2013-04-05 16:36:03 PST ---
Okay, looks like this is happening in addRange. When a range is added it is always ordered start/end and it is this that likely resets the mouse tracking code. http://trac.webkit.org/browser/trunk/Source/WebCore/page/DOMSelection.cpp#L385

(Note that unlike https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#dom-selection-addrange the WIP W3C spec for this, WebKit interprets addRange as a sort of union rather than a set.)

Maybe the mouse tracking code should actually keep a copy of the selection direction state on its own?

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