зеркало из https://github.com/mozilla/gecko-dev.git
33 строки
1.4 KiB
HTML
33 строки
1.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<!-- test case: tables_ondblclick.html -->
|
|
<!-- description: HTML 4.0 TABLE element/ONDBLCLICK 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 ONDBLCLICK attribute of the TABLE element tag-->
|
|
<!-- Expected result: Double-clicking on the table should cause a Javascript alert dialog box to display -->
|
|
<title>tables_ondblclick</title>
|
|
<script language="Javascript">
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<p>This tests the ONDBLCLICK attribute of the TABLE element tag. Double-click on the table and a Javascript alert dialog box will display with the following message: 'Double-clicked!'.</p>
|
|
<table border ondblClick="window.alert ('Double-clicked!')">
|
|
<tr>
|
|
<td> </td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|