[Webkit-unassigned] [Bug 35625] Correct base/extent of selection on double-click.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 9 11:29:07 PST 2010


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





--- Comment #5 from Alexey Proskuryakov <ap at webkit.org>  2010-03-09 11:29:06 PST ---
Anchor/focus sound like they could be the same things as base/extent, but they
actually are not. The former tell what the selection is, while the latter tell
how it was created.

So, base is the DOM position where mouse pointer was when the user began
creating the selection, and
extent is the DOM Position where the mouse was when the user finalized the
selection.

It's expected behavior that base/extent are equal after a double-click. They
will not be equal, but will still be different from anchor/focus after
1.5-clicking and dragging over text. I'm surprised we don't have tests
verifying this - we should!

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