Closed Bug 13823 Opened 27 years ago Closed 26 years ago

[TESTCASE] Reset method actually doing select

Categories

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

x86
All
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: desale, Assigned: vidur)

Details

Attachments

(2 files)

DESCRIPTION: Reset method is actually selecting text in the text instead of resetting values. Input reset is also doing same thing, as well as reset() method also doing the same thing. BUILDS:1999-09-14-10 [Apprunner/Viewer] STEPS TO REPRODUCE: 1] Please copy code HTML provided. Save it as HTML file. 2] Open this HTML file with apprunner as well as viewer. 3] You'll see one text box. Please enter some value in text box. 4] Now Click button called "Button Reset Through JS". [This button is trying to reset value of text box through JavaScript method reset()] 5] Now Click button "Actual Reset". [This is actual reset Input, used to reset form values] EXPECTED RESULTS: Both buttons should reset text box value. ACTUAL RESULTS: Both buttons select text box value. CODE: <HTML> <HEAD> <TITLE>Reset Test</TITLE> </HEAD> <SCRIPT> <!-- function res(text){ document.workform.reset(); } //--> </SCRIPT> <BODY > <FORM NAME="workform" > Test Box &nbsp; <INPUT TYPE="text" NAME="temptext" SIZE="20" VALUE=""><br><br> <INPUT TYPE="button" NAME="tempbut" VALUE="Button Reset Through JS" onClick="res();"> &nbsp;<INPUT TYPE="reset" NAME="tempres" VALUE="Actual Reset"> </FORM> </BODY> </HTML> END OF CODE:
Priority: P3 → P2
Target Milestone: M11
Triage: setting to M11/P2.
Status: NEW → ASSIGNED
Summary: [TEST CASE] Reset method actually doing select → [TESTCASE] Reset method actually doing select
Target Milestone: M11 → M12
Moving to M12. Attaching test case from description (assuming on faith that it works) and marking accepted and [TESTCASE].
Moving off M12 radar for the time being. One or more might get back once I get a chance to really look at them.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Works with the latest build. Must have been fixes some where along the way. Cc'ing pollmann
Yup, fixed a while back. :)
Status: RESOLVED → VERIFIED
Verified with 12-14-09.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: