Closed
Bug 363829
Opened 18 years ago
Closed 18 years ago
COL elements' attributes are not inherited in TD/TH cells of respective colums (for example - align)
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: nozo, Unassigned)
Details
User-Agent: Opera/9.01 (Windows NT 5.1; U; en)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
As explained in subject, if COL defines attribute like align (or uses style with text-align), the data cells in the column won't inherit it. See the example html in "steps to reproduce".
Reproducible: Always
Steps to Reproduce:
Load the following example into firefox 2.0:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head><meta http-equiv="Content-type" content="text/html; charset=us-ascii" />
<title>Table bug page</title>
<style type="text/css">
table {
border: solid 2px;
border-color: black;
width:600px;
}
td {
border: dashed 1px;
}
</style>
</head>
<body>
<table>
<col align="center" /><col align="right" />
<tbody>
<tr><td>should be center aligned</td><td>should be right aligned</td></tr>
</tbody>
</table>
</body>
</html>
Actual Results:
all table cells are left aligned
Expected Results:
left column should have contents centered, right one - right aligned
Comment 1•18 years ago
|
||
*** This bug has been marked as a duplicate of 915 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•