Closed
Bug 242711
Opened 21 years ago
Closed 21 years ago
specifying padding in a colgroup or col tag doesn't work.
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 240772
People
(Reporter: cpk, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a) Gecko/20040428
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a) Gecko/20040428
<table summary="test of padding" rules="all" frame="box">
<colgroup span="3" style="padding:20px;" />
<tr><td>x</td><td>o</td><td>x</td></tr>
</table>
<!-- I don't see any padding! -->
Reproducible: Always
Steps to Reproduce:
1. Put the "details" code into an HTML page
2. Display with Mozilla
Actual Results:
The borders around the characters in the table were close to the characters.
Expected Results:
The table cells should have been padded with 20px of spacing all round their
contents.
Comment 1•21 years ago
|
||
Padding applies to "all elements except elements with table display types other
than table, inline-table, and table-cell". COL and COLGROUP are not among those
table types.
Invalid.
See http://www.w3.org/TR/CSS21/box.html#propdef-padding
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Comment 2•21 years ago
|
||
Of course, I just read that exactly backward as to its meaning.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 3•21 years ago
|
||
Actually, I did have it right. COL is display type table-column; COLGROUP is
table-column-group.
It's a dup bug anyway.
*** This bug has been marked as a duplicate of 240772 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•