INPUT elements with empty VALUE string display "null"

VERIFIED WORKSFORME

Status

()

Core
Layout: Form Controls
P3
normal
VERIFIED WORKSFORME
18 years ago
18 years ago

People

(Reporter: Braden, Assigned: dcone (gone))

Tracking

Trunk
Future
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
For

  <input type="text" value="">

Mozilla prints "null" in the text field. Navigator 4.x leaves the text field
blank in this case, which seems to be the sensible thing to do.
(Reporter)

Updated

18 years ago
Keywords: 4xp

Comment 1

18 years ago
yet another cool textfield printing issue
Assignee: rods → dcone
(Assignee)

Updated

18 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 2

18 years ago
This bug has been marked future because we have determined that it is not 
critical for netscape 6.0.  If you feel this is an error, or if it blocks your 
work in some way -- please attach your concern to the bug for reconsideration.
Target Milestone: --- → Future
(Reporter)

Comment 3

18 years ago
This is an error. Dynamically generated pages that pre-fill certain form fields
may fill the VALUE attribute with "". That's how I ran into this bug. Perhaps
this can be worked around by content developers, but they shouldn't have to.
Navigator 4 didn't do this silly thing, and I don't think IE does either. This
is a basic HTML support issue. "null" is simply *not* a reasonable response to
VALUE="".
(Assignee)

Comment 4

18 years ago
I agree, but I marked it as future because I have about 30 bugs ahead of this.. 
and release is soon.. if we can get to it before release.. or a small fix, this 
will be fixed.  

Comment 5

18 years ago
Updating QA contact.
QA Contact: ckritzer → bsharma
(Reporter)

Updated

18 years ago
Keywords: correctness
(Reporter)

Updated

18 years ago
Blocks: 7954

Comment 6

18 years ago
I've tested this on Mozilla 2000120620 and it seems that works fine. This bug 
status should be changed to WORKSFORME
(Assignee)

Comment 7

18 years ago
Checked this bug.. and this works for me also..
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → WORKSFORME

Comment 8

18 years ago
Verifying on RedHat6.2 build 2001-02-06-08-Mtest, works for me
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.