Closed Bug 45169 Opened 25 years ago Closed 25 years ago

INPUT elements with empty VALUE string display "null"

Categories

(Core :: Layout: Form Controls, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED WORKSFORME
Future

People

(Reporter: braden, Assigned: dcone)

References

Details

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.
Keywords: 4xp
yet another cool textfield printing issue
Assignee: rods → dcone
Status: NEW → ASSIGNED
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
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="".
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.
Updating QA contact.
QA Contact: ckritzer → bsharma
Keywords: correctness
Blocks: html4.01
I've tested this on Mozilla 2000120620 and it seems that works fine. This bug status should be changed to WORKSFORME
Checked this bug.. and this works for me also..
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
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.