зеркало из https://github.com/mozilla/pjs.git
new regression test
This commit is contained in:
Родитель
4a4b4f9b6f
Коммит
3a1d7e840c
|
@ -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>
|
Загрузка…
Ссылка в новой задаче