Closed Bug 483951 Opened 16 years ago Closed 14 years ago

user could delete the input from a form using ctrl+v and double-clicking on the edge of the input.

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 424647

People

(Reporter: viorelioan_rad, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 If the user want to complete a form input using ctrl+ v and double click on the edge of the control, this is deleted from the form. I reproduced the error by holding down ctrl+v and in this time i double-clicked on the edge of the input. The input was deleted. Reproducible: Always Steps to Reproduce: 1. hold ctrl+v 2. double-click the edge of the input(1 or more time. Sometimes takes only one time sometimes 2 or more) 3. the input is deleted from form Expected Results: After the input is deleted on post of the form i have an error about that control not existing on the form. an input must be never deleted by a user.
Component: General → Layout: Form Controls
Product: Firefox → Core
QA Contact: general → layout.form-controls
Martijn, can you reproduce this? I certainly can't with Cmd-v on Mac... Reporter, is there a particular site this happens on?
Sounds like a duplicate of bug 424627 (see also bug 339975).
Sounds likely.
Depends on: 424627
Found the same bug on Firefox 3.5.2, Windows XP, This happens when text input is inside <td>. To catch a bug you need many times select text inside input field and press ctrl+V until active input disapears (actually all <td>..</td> is gone), there is simple html for test: <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><title>Test</title></head> <body> <div id="panel"> <form action=""> <table> <tr> <td> <input name="w1" id="id1" value="1000" type="text"/> </td> <td> <input name="w2" id="id2" value="1000" type="text"/> </td> <td> <input name="w3" id="id3" value="1000" type="text"/> </td> <td> <input name="w4" id="id4" value="1000" type="text"/> </td> </tr> </table> <input value="Save" class="font_normal" name="save" type="submit" /> <input value="HTML" onclick="alert(document.getElementById('panel').innerHTML);return false;" type="button" /> </form> </div> </body> </html>
Yes, this bug reproduces on all last versions of FF under windows XP
Sounds like a duplicate of Bug 462970
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
No longer depends on: 424627
You need to log in before you can comment on or make changes to this bug.