Closed
Bug 149008
Opened 22 years ago
Closed 22 years ago
background-color doesn't apply to col and in colgroup (table columns)
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: davide, Assigned: attinasi)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc3) Gecko/20020523
BuildID: 2002052309 (1.0rc3)
Following the W3C HTML 4.01 specifications:
(http://www.w3.org/TR/html401/struct/tables.html#edef-COLGROUP)
"The COL element allows authors to share attributes among several columns
without implying any structural grouping."
Following the W3C CSS 2 specifications:
(http://www.w3.org/TR/REC-CSS2/tables.html#table-layers)
"For the purposes of finding the background of each table cell, the different
table elements may be thought of as being on six superimposed layers. The
background set on an element in one of the layers will only be visible if the
layers above it have a transparent background."
So, COL and COLGROUP background-color styles should be rendered if table cells
are transparent (default), but Mozilla seems to ignore COL and COLGROUP styles...
Reproducible: Always
Steps to Reproduce:
Go to the URL (http://www.webforma.it/mozilla/colgroup-bgcolor-bug.html)
Actual Results: All table columns have not a background color.
Expected Results: The left column should have a blue background and the middle
one a red background.
Tested with Mozilla 1.0rc3/Linux and Mozilla 0.9.9/Windows NT.
It works with IE 5.5/Windows NT and IE 5.1/MacOS. It doesn't work in Opera
6.01/Linux.
The page is XHTML 1.0 strict compliant.
Comment 3•22 years ago
|
||
Yep this is a duplicate of bug 4510. You can also see a similar column
discussion with the ol' bug 915. That bug has been pretty much the spot where
all discussion about table columns has taken place.
Marking.
*** This bug has been marked as a duplicate of 4510 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•