Closed Bug 38532 Opened 24 years ago Closed 24 years ago

Extraneous text appears and disappears in "Text" form elements

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 35230

People

(Reporter: bugzilla, Assigned: rubydoo123)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m15) BuildID: 2000041805 In a test page I created, I set a text box to a length of 12 and a maxlength of 12. I gave it a default value with a string 20 characters wide: "12345678901234567890" The first rendering of the page showed "1234567890123" (Well, part of the 3 anyways). When I clicked inside the text box (gave it focus), the 3 at the end of the string disappeared. (Giving it the correct rendering of "123456789012". Reproducible: Always Steps to Reproduce: 1. Create a form with a text element in it. 2. Give the text element the following values: MAXLENGTH=12, LENGTH=12, VALUE="12345678901234567890" 3. Load the page into the Mozilla Browser 4. Click into the box. Actual Results: Displayed "1234567890123" in the box, then showed "123456789012" after clicking in the box. Expected Results: Displayed "123456789012" the first time. <HTML> <HEAD> <TITLE>Form Test</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF" COLOR="#000000"> <FORM> <INPUT TYPE="TEXT" NAME="AccountNum" SIZE=12 MAXLENGTH=12 VALUE="12345678901234567890"> </FORM> </BODY> </HTML>
reassigning
Assignee: rods → beppe
*** This bug has been marked as a duplicate of 35230 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified duplicate.
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.