pjs/layout/html/tests/table/marvin/tables_caption_align_top.html

45 строки
1.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!-- test case: tables_caption_align_top.html -->
<!-- description: HTML 4.0 TABLE element/CAPTION attribute -->
<!-- Author: Chris Petersen Date: 8/6/98 -->
<!-- Modified: Christine Dreckman Date: 1/19/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 CAPTION attribute of the TABLE element tag-->
<!-- Expected result: A table should be displayed with a top aligned caption -->
<title>tables_caption_align_top</title>
</head>
<body>
<p>The caption should be at the top of the table</p>
<table border=1>
<caption align=top>Wild Cats</caption>
<tr>
<td>Lion</td>
<td>Leopard</td>
<td>Cheetah</td>
</tr>
<tr>
<td>Jaguar</td>
<td>Bobcat</td>
<td>Ocelot</td>
</tr>
</table>
</body>
</html>