33 lines
1.6 KiB
HTML
33 lines
1.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<!-- test case: tables_onkeyup.html -->
|
|
<!-- description: HTML 4.0 TABLE element/ONKEYUP attribute -->
|
|
<!-- Author: Christine Dreckman Date: 1/13/99 -->
|
|
<!-- CONFIDENTIAL AND PROPRIETARY TEST SCRIPT OF NETSCAPE COMMUNICATIONS CORPORATION
|
|
Copyright © 1999 Netscape Communications Corporation. All Rights Reserved. Use of this Test Script is
|
|
subject to the terms of the applicable license agreement from Netscape Communications Corporation -->
|
|
<!-- Purpose: To test the ONKEYUP attribute of the TABLE element tag-->
|
|
<!-- Expected result: With focus on the table, pressing a key down and then breaking contact with the key should cause a Javascript alert dialog box to display -->
|
|
<title>tables_onkeyup</title>
|
|
<script language="Javascript">
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<p>This tests the ONKEYUP attribute of the TABLE element tag. Once the table has focus, the user presses a key down. Then the user breaks contact with the key which will cause a Javascript alert dialog box to be displayed with the following message: 'Key was pressed down and then released!'.</p>
|
|
<table border onKeyUp="window.alert ('Key was pressed down and then released!')">
|
|
<tr>
|
|
<td> </td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|