[Webkit-unassigned] [Bug 108667] [Chromium] WebWidget should expose a way to determine the start/end of the selection bounds
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 1 11:31:43 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=108667
--- Comment #1 from Chris Hopman <cjhopman at chromium.org> 2013-02-01 11:33:45 PST ---
WebWidget::selectionBounds() returns the anchor and focus of the selection. This matches the arguments to WebFrame::selectRange(). However, sometimes (/often) a caller wants to know the start/end of the selection rather than anchor/focus. Currently, this information is inaccessible.
There was previous suggestion to have selectionBounds() return start/end but I think that matching WebFrame::selectRange() is valuable and selectRange has to take anchor/focus. Instead, we should just expose whether or not the selection anchor is the start or end and then a caller can derive start/end from anchor/focus.
--
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