[Webkit-unassigned] [Bug 25743] New: elected text in a searchfield only deletes 1 letter at a time
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 12 16:56:48 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=25743
Summary: elected text in a searchfield only deletes 1 letter at a
time
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
URL: http://mybrute.com/
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jasneet at chromium.org
CC: jasneet at chromium.org
I Steps:
1. Go to http://mybrute.com/
2. Write something in the "Already signed up?" field
3. select the text with your mouse, that you just wrote, and press
Delete/backspace or write something.
II Issue:
It only deletes the last letter if you press backspace, and the text isn't
selected any more.
It doesn't do anything if you press Delete, and the text isn't selected any
more.
If you type a letter, a number or the spacebar it just stands after the
text you did mouseover, and the text isn't selected any more.
III Conclusion:
code for quick reference :
<BODY>
<FORM action=/go method=post>
Type something into textbox and select all of the text. Now hit
backspace key. Only last letter gets deleted everytime you hit backspace
insteasd of whole text (in Safari/Chrome) <br/>
<INPUT
onkeydown=js.App.normalize(this); onkeyup=js.App.normalize(this); name=name>
</FORM>
</BODY>
Issue in function : js.App.normalize = function(i) {
i.value = new EReg("[^A-Za-z0-9
#.!*$()_/,+:;\\'<>@\"^&=?[~`%\\]-]","g").split(i.value).join("");
}
IV Other Browsers:
IE7: ok
FF3: ok
V Nightly tested: 43092
Bug in Chromium : http://code.google.com/p/chromium/issues/detail?id=10635
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list