[Webkit-unassigned] [Bug 127078] New: Selection bias reversed when setting a range after left key down
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 15 17:58:17 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=127078
Summary: Selection bias reversed when setting a range after
left key down
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: http://jsfiddle.net/3Wpc8/
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: harrylepotter at gmail.com
If you try to change the selection between a Shift + Left key down and Left key up event, the selection bias is reversed (i.e. anchorOffset/focusOffset are switched)
This appears to be a bug in webkit derived browsers only, and does not appear to happen on Internet explorer or firefox.
A demonstration can be found at:
http://jsfiddle.net/3Wpc8/
To reproduce the bug:
-open the jsfiddle, and select the word "two".
- hold shift and press the left arrow key
- observe that the offsets are reversed rather than the expected behavior (..decrementing the focusOffset)
--
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