Closed Bug 32864 Opened 26 years ago Closed 26 years ago

form element textarea type == "Text" rather than "text"

Categories

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

defect

Tracking

()

VERIFIED DUPLICATE of bug 32368

People

(Reporter: ianm, Assigned: jst)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt) BuildID: 2000032011 I have a Javascript form validation script loops through the elements of a form and does validation agains elements. As part of the script the element type is checked. NS 4.x and IE 4 and 5 report a text field as "text" and a textarea as "textarea". Moxilla reports them as "Text" and "textarea" (note case). This caused my script not to run, as I do an exact match. I have modified it to work by using a RE, but this should not be necessary. Reproducible: Always Steps to Reproduce: 1. run the sample file and look at the code Actual Results: I was able to see the spelling and case of the elements. Expected Results: I believe that type should be "text" not "Text". If this is not done I think lots of checking code will break.
DOM0
Assignee: rogerl → jst
Component: Javascript Engine → DOM Level 0
QA Contact: rginda → desale
Target Milestone: ---
Hmm, comments in bug #32368 says I marked this as a dup of that bug but this is not marked as a dup? Marking now... *** This bug has been marked as a duplicate of 32368 ***
Status: UNCONFIRMED → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Dup verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.