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)
Tracking
()
VERIFIED
FIXED
People
(Reporter: desale, Assigned: joki)
References
()
Details
(Whiteboard: [TESTCASE] klein_sh@inter.net.il)
Attachments
(1 file)
(deleted),
text/html
|
Details |
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.
Reporter | ||
Updated•26 years ago
|
Severity: normal → major
Priority: P3 → P2
Target Milestone: M3
Reporter | ||
Comment 1•26 years ago
|
||
Target Change per request
Reporter | ||
Updated•26 years ago
|
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.
Updated•26 years ago
|
Comment 3•26 years ago
|
||
This works correctly for me on Linux.
Comment 4•26 years ago
|
||
This also works for me on Windows - has it been tested on Mac?
Updated•26 years ago
|
Whiteboard: [TESTCASE] klein_sh@inter.net.il
Comment 5•26 years ago
|
||
Comment 6•26 years ago
|
||
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
Comment 7•26 years ago
|
||
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!!!
Reporter | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 8•25 years ago
|
||
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]
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 9•25 years ago
|
||
Marking verified.
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•