Closed Bug 4066 Opened 25 years ago Closed 25 years ago

Using tab key on keyboard, Focus event is not occuring.

Categories

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

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: desale, Assigned: joki)

Details

Using tab key on keyboard, Focus event is not occuring.
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 three objects. First one is starting text box.
Second one is test object and third one is result text box.
4] Click in starting text box.
5] Now using tab key on your key board, change focus from starting text box to
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 print "Focus()" in result text box if we <br>change
focus from starting text box to text text box.</h4><br><br>
Starting Text Box:<INPUT TYPE=text NAME="username" size=15 ><br><br>
Test Object:<INPUT TYPE=text NAME="username" size=15
onfocus="report('Focus()');"><br><br>
Result Text Box<INPUT TYPE=text NAME="result" SIZE=80>
<input type="reset" value="Reset">
<h5>conclusion: Onchanging focus from starting text box to test <br>
object using tab key on keyboard, Result text box does not show any <br>
sign of Focus() event occurance. So using tab key Focus event is <br>
not taking place. </h5>

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

Expected Results: On changing focus from starting text box to test object using
tab key, Focus event should get printed in result text box.

Actual Results: Focus event is not getting printed in result text box on
changing focus from starting text box to test object using tab key. This means
Focus event is not working using tab key.
Priority: P3 → P2
Target Milestone: M3
Target M3 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.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Works now.
Status: RESOLVED → VERIFIED
Verified this bug and everything is working fine now. Marking as 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.