Open
Bug 425759
Opened 18 years ago
Updated 3 years ago
setting input type="button" value causes odd text entry field to appear.
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
NEW
People
(Reporter: whalliburton, Unassigned)
Details
(Keywords: testcase, Whiteboard: WONTFIX?)
Attachments
(1 file, 1 obsolete file)
|
460 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Trying to change the text in a <input type="button"> via script. Setting the "value" attribute causes the text to change but also for a "text" entry field to appear right after the text. IE6, IE7, Opera and Safari work properly.
Reproducible: Always
Steps to Reproduce:
1.button.setAttribute("value","new text");
2.
3.
Actual Results:
assuming button is set to the input element, the button is redrawn with the new text but also with a text entry field right next to new text.
Expected Results:
Just changed the text.
Comment 1•18 years ago
|
||
Comment 2•18 years ago
|
||
The attached testcase works for me, Firefox 2.0.0.13 on Linux.
Does it demonstrate the problem you're reporting? If not, please attach
a testcase that does.
Does the problem occur also in Firefox Safe Mode?
(it temporarily disables add-ons and themes, this test will help us narrow
down the cause of the problem) -- See http://kb.mozillazine.org/Safe_Mode
| Reporter | ||
Comment 3•18 years ago
|
||
The original bug was not really caused by setting the value, but actually be setting the innerHTML to "".
| Reporter | ||
Comment 4•18 years ago
|
||
Sorry for confusion.
Comment 5•18 years ago
|
||
That looks like a bug, but I'm not sure if it's something we should
try to fix on the 1.8 branch. In Firefox 3.0pre nothing happens with
the button, which I think is the correct behaviour.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Component: General → DOM: HTML
Ever confirmed: true
Keywords: testcase
OS: Windows XP → All
Product: Firefox → Core
QA Contact: general → general
Hardware: PC → All
Whiteboard: WONTFIX?
Version: unspecified → 1.8 Branch
Updated•18 years ago
|
Attachment #312484 -
Attachment is obsolete: true
Comment 6•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•3 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•