WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
127078
Selection bias reversed when setting a range after left key down
https://bugs.webkit.org/show_bug.cgi?id=127078
Summary
Selection bias reversed when setting a range after left key down
Ben Davey
Reported
2014-01-15 17:55:54 PST
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)
Attachments
Add attachment
proposed patch, testcase, etc.
hello@yoavgivati.com
Comment 1
2018-02-05 13:17:58 PST
Is there any plan to fix this?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug