new regression test
git-svn-id: svn://10.0.0.236/trunk@46346 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
aa14d30718
commit
7a72afaa32
40
mozilla/layout/html/tests/table/interactive/bug9043.html
Normal file
40
mozilla/layout/html/tests/table/interactive/bug9043.html
Normal file
@ -0,0 +1,40 @@
|
||||
<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>
|
||||
Loading…
x
Reference in New Issue
Block a user