Closed Bug 4063 Opened 26 years ago Closed 25 years ago

Events on Submit does not work properly.

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: desale, Assigned: joki)

References

()

Details

(Whiteboard: [TESTCASE] klein_sh@inter.net.il)

Attachments

(1 file)

Events on Submit does not work properly. Providing information to simulate the problem. Product: Seamonkey.[apprunner] Build Date: 03/17/99 Platform: PC [Windows-95] Steps to Reproduce: 1] Please copy the code I'm providing. Save as HTML file. 2] Open this HTML file in apprunner. 3] This file will provide you two objects. Upper one is called test object and lower one is called result text box. 4] Try to click on test object. Code: <html> <head> <title>Test Page</title> </head> <SCRIPT LANGUAGE="JavaScript1.1"> function report(text) { var value=document.workform.result.value; var msg= value+ " " +text; document.workform.result.value=msg; } </SCRIPT> <body> <FORM NAME="workform" > <h4>This simple test will list the events which are occuring on submit button.</h4><br><br> Test Object:<INPUT TYPE=submit NAME="username" value="Submit" onClick="report('Click()');" onfocus="report('Focus()');" onBlur="report('Blur()');" ><br><br> Result Text Box<INPUT TYPE=text NAME="result" SIZE=80> <input type="reset" value="Reset"> <h5>conclusion: onClick of the test object only onclick() and onfocus() events should occur. <br>Where as Blur() event is also occuring. </h5> </form> </body> </html> Expected Results: On clicking on test object, result test box should show only two events that are occuring Click() and Focus(). It should not show Blur() as well as change() event. Actual Results: On clicking on test object, result text box is showing all events Click(), Focus(), Blur() change(). Description: On click all events are occuring.
Severity: normal → major
Priority: P3 → P2
Target Milestone: M3
Target Change per request
QA Contact: 3847 → 4616
This bug is on M3 milestone which has passed. Putting on Blank milestone to be reassigned to a current or future milestone.
This works correctly for me on Linux.
This also works for me on Windows - has it been tested on Mac?
Whiteboard: [TESTCASE] klein_sh@inter.net.il
Attached file Test Case for 4063 Bug (deleted) —
Check this on Windows 98 with M8. The bug occur when you click on the submit bottun and then click again where you want, and in the text box you will see the blur() function
I ran Shmulik's test case in M8 on WinNT 4.0 SP3 and only saw the expected behavior: Focus and Select, same as behavior of 4.61 on WinNT 4.0 SP3. Since Shmulik's reproduced this on Win98 and it was reported on Win95, looks like this is another Win95/98-specific bug. Great work Shmulik on catching this--thanks!!!
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I tested this one with todays builds [09-29-09] with both win-95 and win-98. It seems somehow it got fixed. Everything looks working fine. Marking this bug Fixed. [One less in joki's list]
Status: RESOLVED → VERIFIED
Marking verified.
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: