Closed
Bug 252751
Opened 20 years ago
Closed 20 years ago
colgroup tag does not apply align attribute to the columns it spans over
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
People
(Reporter: tedsz, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2
Expected result from the following html code would be first columnt left aligned
and the following 3 columns to be right aligned. Please note that the bug is not
limited to the "align" attribute; using "style" or "class" results in
unpredictable and incomplete rendering. For example background-color works,
while text-align does not. Interestingly this is also a bug in OPERA!
<html>
<head>
<title>test</title>
</head>
<body>
<table border="1" width="100%">
<colgroup span="1" align="left"></colgroup>
<colgroup span="3" align="right"></colgroup>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
</table>
</body>
</html>
Reproducible: Always
Steps to Reproduce:
1. load the attached html in the browser
2.
3.
Actual Results:
The align attribute is ignored. Some CSS attributes are ignored.
Expected Results:
The align attribute should force the columnts over which the span is applied to
be aligned accordingly to the colgroup attributes, class or style.
*** This bug has been marked as a duplicate of 915 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•