gecko-dev/layout/html/tests/table/marvin/thead_align_justify.html

39 строки
1.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<!-- testcase: thead_align_justify.html -->
<!-- description: HTML 4.0 THEAD element/ALIGN-JUSTIFY 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 ALIGN-JUSTIFY attribute of the THEAD element. -->
<!-- Expected result: The text in the THEAD section should be justified -->
<title>thead_align_justify</title>
</head>
<body>
<p>The THEAD element labels the head area of a table. In this test, the THEAD text has an attribute value of ALIGN=JUSTIFY. ALIGN-JUSTIFY should attempt to justify text within all cells of the THEAD.</p>
<table border>
<thead align="justify">
<tr>
<td>This text is in the THEAD</td>
<td>This text is in the THEAD</td>
</tr>
</thead>
<tfoot>
<tr>
<td>This text is in the TFOOTThis text is in the TFOOT</td>
<td>This text is in the TFOOTThis text is in the TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>This text is in the TBODYThis text is in the TBODY</td>
<td>This text is in the TBODYThis text is in the TBODY</td>
</tr>
<tbody>
</table>
</body>
</html>