Events on text field does not work properly.

VERIFIED FIXED in M3

Status

()

Core
Event Handling
P2
major
VERIFIED FIXED
19 years ago
19 years ago

People

(Reporter: Prashant Desale, Assigned: joki (gone))

Tracking

Trunk
x86
Windows 95
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
Events on text field 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 text boxes. Upper one is called test text box
and lower one is called result text box.
4] Try to click on test text box.
5] Then try to click on result test box.
6] Again click on test text box.

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 in result text
box.</h4><br><br>

Test Text Box:<INPUT TYPE=text NAME="username" SIZE=15
onClick="report('Click()');" onfocus="report('Focus()');"
onBlur="report('Blur()');" onSelect="report('Select()');"
onChange="report('Change()');"><br><br>
Result Text Box<INPUT TYPE=text NAME="result" SIZE=80>
<input type="reset" value="Reset">
<h5>conclusion: onClick of the test text box only onclick() and onfocus() events
should occur.
<br>Where as Blur() event is also occuring. onSelect is not working.</h5>

</form>
</body>
</html>

Expected Results: On clicking on test text box, result test box should show only
two events that are occuring Click() and Focus(). It should not show Blur()
event. onSelect() event should work.

Actual Results: On clicking on test text box, result text box is showing all
three events Click(), Focus(), Blur(). Select() event is not appearing.

Description: On click all three events are occuring.
(Reporter)

Updated

19 years ago
Severity: normal → major
Priority: P3 → P2
Summary: Events on text field does not work properly. → Events on text field does not work properly.
Target Milestone: M3
(Reporter)

Comment 1

19 years ago
M3, as requested.
(Reporter)

Updated

19 years ago
QA Contact: 3847 → 4616
(Assignee)

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
(Assignee)

Comment 2

19 years ago
The base event handling for all of these works correctly now.  There are still
some basic blur/focus issues but none of them are specific to these form types.
I'll handle those fixes through other bugs.  But the test cases described here
are correct.
(Reporter)

Updated

19 years ago
Status: RESOLVED → VERIFIED
(Reporter)

Comment 3

19 years ago
I verified this bug, and everything seems working now. Marking as Verified.
You need to log in before you can comment on or make changes to this bug.