Closed
Bug 499677
Opened 15 years ago
Closed 15 years ago
Ctrl+z inserts a \n character in an input field
Categories
(Firefox :: Keyboard Navigation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 318065
People
(Reporter: mlauwerijssen, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 When pressing ctrl+z in an input field in which no data has been entered yet, results in a "\n" character to be entered into it. Reproducible: Always Steps to Reproduce: 1. Select an input field 2. Press ctrl+z Actual Results: A "\n"-character is inserted into the input field Expected Results: Nothing should be inserted into the input field I used firebug to determine the contents of the field using a script that checked the contents of the field in the ONBLUR event.
Reporter | ||
Updated•15 years ago
|
Version: unspecified → 3.0 Branch
Comment 1•15 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1pre) Gecko/20090621 Shiretoko/3.5pre ID:20090621045333 1. Click in bugzilla find box 2. Ctrl/Z 3. Click on Find button Request is https://bugzilla.mozilla.org/buglist.cgi?quicksearch=%0D%0A Related to bug 318065 ?
Reporter | ||
Comment 2•15 years ago
|
||
Not really the bug I posted occurs before any text was entered in the input field. Simply open a page with an empty input field, select it and press CTRL+. A "\n" character is then inserted in the input field. Actually this behavior was already described in the following bug report https://bugzilla.mozilla.org/show_bug.cgi?id=356895 Dating back from 2006. I just noticed that the "\n" character is actually always inserted when the undo-buffer is empty and CTRL+Z is pressed. Hence you can also perform the following steps. 1. Select an empty input field 2. Enter text 3. Press CTRL+Z 4. Press CTRL+Z After this the input field contains a "\n" character. Finally when pressing CTRL+Z again (after the abovementioned steps) the "\n" character is removed.
Updated•15 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•