Closed
Bug 75652
Opened 24 years ago
Closed 23 years ago
tabindexes show negative values.
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: desale, Assigned: jst)
References
()
Details
Attachments
(1 file)
1.80 KB,
text/html
|
Details |
Somehow tabIndexes return negative values.
BUILDS:
2001-04-10-04 [Win95]
2001-04-10-04 [Mac]
2001-04-10-14 {Linux]
STEPS TO REPRODUCE:
1] Please visit URL above.
2] Click button "Show me all TabIndexes"
EXPECTED RESULTS: onClicking following button, 9 alerts should pop-up showing 9
tabIndexes.
tabIndexes should start from 9 & end at 1.
ACTUAL RESULTS: tabIndex continue till -1. [There is no tabindex -1 in reality.]
Here is HTML code of testcase at above URL
HTML CODE START
<HTML>
<HEAD>
<TITLE>FORM.LENGTH TEST</TITLE>
</HEAD>
<BODY>
input tabindex="9" type="file" id="input1"<br>
input tabindex="8" type="text" id="input2"<br>
input tabindex="7" type="password" id="input3"<br>
input tabindex="6" type="checkbox" id="input4"<br>
input tabindex="5" type="radio" id="input5"<br>
input tabindex="4" type="submit" id="input6"<br>
input tabindex="3" type="image" src="http://bubblegum/ngdriver/res/upn.gif"
id="input7"<br>
input tabindex="2" type="button" id="input9"<br>
input tabindex="1" type="reset" id="input8"<br><br><br>
<form id="form1">
file: <input tabindex="9" type="file" id="input1"><br>
text: <input tabindex="8" type="text" id="input2"><br>
password: <input tabindex="7" type="password" id="input3"><br>
checkbox: <input tabindex="6" type="checkbox" id="input4"><br>
radio: <input tabindex="5" type="radio" id="input5"><br>
submit: <input tabindex="4" type="submit" id="input6"><br>
image: <input tabindex="3" type="image"
src="http://bubblegum/ngdriver/res/upn.gif" id="input7"><br>
button: <input tabindex="2" type="button" id="input9"><br>
reset: <input tabindex="1" type="reset" id="input8"><br>
</form>
<script>
<!--
function showtabindexes(){
var aEl = new Array();
var sFormName = "form1";
aEl = document.getElementById( sFormName ).elements;
for( var i=0; i<aEl.length; i++ ){
alert(aEl[i].type + '.tabindex = ' + aEl[i].tabIndex);
}
}
//-->
</script>
<FORM NAME="secondform">
EXPECTED RESULTS:
onClicking following button, 9 alerts should pop-up showing 9 tabIndexes.<br>
tabIndexes should start from 9 & end at 1. <br><br>
ACTUAL RESULTS:
tabIndex continue till -1. [There is no tabindex -1 in reality.]<br><br>
<INPUT TYPE="button" NAME="but1" VALUE="Show me All Tabindexes"
onclick="showtabindexes();">
</FORM>
</BODY>
</HTML>
HTML CODE END
Comment 2•23 years ago
|
||
Prashant, I no longer see this... in build 2001091903, the tabIndexes range from
9 to 1. It skips 3 because input type="image" is not in the elements array of
the form element.
Did this get magically fixed?
Comment 3•23 years ago
|
||
Comment 4•23 years ago
|
||
I'm going to take the initiative and mark this bug worksforme, I still see 9->1
skipping 3 in latest builds. Please reopen if you're still seeing the bug.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•