karnaze%netscape.com 7a72afaa32 new regression test
git-svn-id: svn://10.0.0.236/trunk@46346 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 14:32:53 +00:00

41 lines
1.1 KiB
HTML

<HTML><HEAD><TITLE>test</TITLE>
<SCRIPT>
function debugOutput (t) {
document.forms[0].txtdisp.value = t;
}
w.document.writeln(t + '<HR>');}
</SCRIPT>
</HEAD>
<BODY>
Click on a cell to display cell index (bug causes 1st one to be -1)
<TABLE>
<THEAD><TR>
<TH ONCLICK="debugOutput('TH ' + event.type + ': ' + this.cellIndex);">Name</TH>
</TR></THEAD>
<TBODY><TR>
<TD ONCLICK="debugOutput('TD ' + event.type + ': ' + this.cellIndex);">Kibo</TD>
</TR></TBODY>
</TABLE>
<FORM><INPUT TYPE="TEXT" NAME="txtdisp"></FORM>
<BR>
Click on a cell to display cell index (bug causes 2nd, 4th to be -1)
<TABLE>
<TBODY><TR>
<TD ONCLICK="debugOutput('TD 1 ' + event.type + ': ' + this.cellIndex);">Cell</TD>
<TH ONCLICK="debugOutput('TH 2 ' + event.type + ': ' + this.cellIndex);">Cell</TH>
<TD ONCLICK="debugOutput('TD 3 ' + event.type + ': ' + this.cellIndex);">Cell</TD>
<TH ONCLICK="debugOutput('TH 4 ' + event.type + ': ' + this.cellIndex);">Cell</TH>
<TD ONCLICK="debugOutput('TD 5 ' + event.type + ': ' + this.cellIndex);">Cell</TD>
</TR></TBODY>
</TABLE>
<FORM><INPUT TYPE="TEXT" NAME="txtdisp"></FORM>
</BODY>
</HTML>