WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
104892
Ctrl-Shift-Left selects too much in a textarea/contentEditable
https://bugs.webkit.org/show_bug.cgi?id=104892
Summary
Ctrl-Shift-Left selects too much in a textarea/contentEditable
Alexander Pavlov (apavlov)
Reported
2012-12-13 01:27:39 PST
With the following text in a textarea/contentEditable: function Foo() { var i = 0; } 1. Place caret just after the '}' and hit Ctrl-Shift-Left. The selection will become "0;\n}" (in Mozilla: "}") 2. Place caret just before "var" and hit Ctrl-Shift-Left. The selection will become "Foo() {\n " (in Mozilla: " {\n ") It looks like WebKit select too many characters in these cases.
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2012-12-13 02:07:01 PST
function Foo() { var i = 0; }
Vsevolod Vlasov
Comment 2
2012-12-13 04:55:36 PST
(In reply to
comment #1
)
> function Foo() { > var i = 0; > }
Did you mean to comment on 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