зеркало из https://github.com/mozilla/gecko-dev.git
48 строки
1.5 KiB
HTML
48 строки
1.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
|
|
<html>
|
|
<head>
|
|
<!-- testcase: tfoot_align_char.html -->
|
|
<!-- description: HTML 4.0 TFOOT 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 TFOOT element. -->
|
|
<!-- Expected result: The numbers in the TFOOT section should align on the decimal point -->
|
|
<title>tfoot_align_char</title>
|
|
</head>
|
|
|
|
<body>
|
|
<p>In this test, the TFOOT 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 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>
|
|
</tfoot>
|
|
<tbody >
|
|
<tr>
|
|
<td>This text is in the TBODY</td>
|
|
<td>This text is in the TBODY</td>
|
|
<td>This text is in the TBODY</td>
|
|
</tr>
|
|
<tbody>
|
|
</table>
|
|
|
|
</body>
|
|
</html> |