Closed
Bug 241370
Opened 20 years ago
Closed 20 years ago
border style ignores <col span>
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: habere, Assigned: dbaron)
Details
Attachments
(1 file)
943 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8a) Gecko/20040421 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8a) Gecko/20040421 from: http://www.w3.org/TR/html4/struct/tables.html#edef-COL <blockquote>the COL element shares its attributes with all the columns it spans.</blockquote> i think this means that the border style applied to a table with a spanning column should have the style applied to the entire spanned column, *not* to each of the columns it spans. Reproducible: Always Steps to Reproduce: (validated) testcase attached: Style table { border-collapse: collapse; } col { border-right: solid; } Markup <table> <colgroup> <col span="2"> </colgroup> <tr> <td>First column</td> <td>Second column</td> </tr> </table> Actual Results: both columns have the border style applied. Expected Results: only the entire spanned column should have the style applied. (appears to render correctly in opera 7.23) tested in moz 1.6, and 1.8a nightly 2004/04/22.
Reporter | ||
Comment 1•20 years ago
|
||
testcase
Assignee | ||
Comment 2•20 years ago
|
||
I would interpret the sentence you quote the opposite way -- that Mozilla's behavior is correct. Furthermore, what you want can be accomplished by styling the colgroup, so why make col with span work this way?
Summary: border style ignores <col span> → border style ignores <col span>
Reporter | ||
Comment 3•20 years ago
|
||
(i was aiming for the simplest testcase -- i had a rather complex table.)
Comment 4•20 years ago
|
||
> <blockquote>the COL element shares its attributes with all the columns it
> spans.</blockquote>
Computed style properties are NOT attributes.
Reporter | ||
Comment 5•20 years ago
|
||
thanks boris -- i think i'm wrong. quoting brian wilson: "Using the SPAN element does not actually DEFINE a column grouping, it is rather a method used to more easily specify shared column attributes." http://www.blooberry.com/indexdot/html/tagpages/c/col.htm
Assignee | ||
Updated•20 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•