Closed
Bug 356895
Opened 18 years ago
Closed 15 years ago
Pressing CTRL+Z in an empty text field inserts an invisible control character which cannot be deleted with backspace
Categories
(Core :: DOM: Editor, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 318065
People
(Reporter: phancock, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 CTRL+Z creates an invisible control character in empty text fields. The field has to start out blank on page load. If the field is not blank to start with, CTRL-Z just performs undo, like it should. I have tested this on Firefox 1.5.0.7 in both Windows XP and debian linux, with the default theme. I discovered it while developing a form application and viewing POST data. Javascript also picks up the character. The character cannot be deleted with backspace, or selected with the mouse. Reproducible: Always Steps to Reproduce: 1. Create a page with a blank text field. 2. Click in the text field or tab to it. 3. Press CTRL+Z. There is now an invisible character in the field. Expected Results: I would expect CTRL+Z to do nothing if there is nothing to "undo"
Comment 1•18 years ago
|
||
See also bug 320006. Easy test: focus the "bug#:" field at the bottom of this page, Ctrl+Z, click Find, the URL will have an escaped newline in the query.
Component: Form Manager → Editor
Product: Firefox → Core
QA Contact: form.manager
Version: unspecified → 1.8 Branch
Updated•17 years ago
|
QA Contact: editor
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
•