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

77 строки
2.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!-- test case: colgroup_align_left.html -->
<!-- description: HTML 4.0 COLGROUP element with ALIGN attribute. Value=left -->
<!-- Author: Christine Dreckman Date: 2/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 ALIGN/left attribute/value of the COLGROUP element tag -->
<!-- Expected result: A table with two distinct column groups should be displayed. The first column group has two columns and the second column group has three columns. Text in the cells should be left-aligned -->
<title>colgroup_align_left.html</title>
</head>
<body>
<p>Colgroups are used to identify column groups. The table below has two distinct column groups; 'Airport Location' and 'Car Rental Information'. The first column group contains two columns and the second column group contains three columns.</p>
<p>Text in the cells should be left-aligned.</p>
<table BORDER >
<colgroup width=100 align="left">
<colgroup width=300 align="left">
<tr>
<th COLSPAN="2">Airport Location</th>
<th COLSPAN="3">Car Rental information</th>
</tr>
<tr>
<th>Country</th>
<th>City</th>
<th>ABC Company</th>
<th>EFG Company</th>
<th>XYZ Company</th>
</tr>
<tr>
<td>France</td>
<td>Paris</td>
<td>yes</td>
<td>yes</td>
<td>yes</td>
</tr>
<tr>
<td>Germany</td>
<td>Frankfurt</td>
<td>yes</td>
<td>yes</td>
<td>yes</td>
</tr>
<tr>
<td>England</td>
<td>London</td>
<td>yes</td>
<td>yes</td>
<td>yes</td>
</tr>
<tr>
<td>Netherlands</td>
<td>Amsterdam</td>
<td>yes</td>
<td>yes</td>
<td>yes</td>
</tr>
<tr>
<td>USA</td>
<td>New York</td>
<td>yes</td>
<td>yes</td>
<td>yes</td>
</tr>
</table>
</body>
</html>