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

48 строки
1.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<!-- testcase: tbody_align_char.html -->
<!-- description: HTML 4.0 TBODY element/ALIGN-char attribute/value -->
<!-- Author: Christine Dreckman Date: 1/27/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-char attribute/value of the TBODY element. -->
<!-- Expected result: The numbers in the TBODY section should align on the decimal point -->
<title>tbody_align_char</title>
</head>
<body>
<p>In this test, the TBODY section of the table contains numbers with decimals. The test uses the attribute/value ALIGN=char without the additional CHAR attribute to specify a particular character. Therefore, ALIGN=char should cause the numbers to align to the default value (decimal point).</p>
<table border>
<thead>
<tr>
<td>This text is in the THEAD</td>
<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 TFOOT</td>
<td>This text is in the TFOOT</td>
<td>This text is in the TFOOT</td>
</tr>
</tfoot>
<tbody align="char">
<tr>
<td>55.00</td>
<td>55555.00</td>
<td>555.00</td>
</tr>
<tr>
<td>1234.56</td>
<td>123.45</td>
<td>12345.67</td>
</tr>
<tbody>
</table>
</body>
</html>