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

75 строки
1.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!-- test case: colgroup_width_px.html -->
<!-- description: HTML 4.0 COLGROUP element with WIDTH attribute. Value=pixels. -->
<!-- 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 WIDTH attribute of the COLGROUP element tag (pixel value) -->
<!-- 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 -->
<title>colgroup_width_px.html</title>
</head>
<body>
<p>Colgroups are used to identify column groups. This table has two distinct column groups titled 'Airport Location' and 'Car Rental Information'. The first has a width of 200 pixels; the second has a width of 400 pixels.</p>
<table BORDER >
<colgroup width=200>
<colgroup width=400>
<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>