Closed Bug 15931 Opened 25 years ago Closed 25 years ago

{css2}table element backgrounds shouldn't extend into border-spacing

Categories

(Core :: Layout: Tables, defect, P3)

defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: dbaron, Assigned: peterl-retired)

Details

(Keywords: css2)

Attachments

(1 file)

I'm assigning this bug to peterl to get clarification on the correct CSS
behavior.  If it as I think, it should be assigned to karnaze, and if not,
marked INVALID.

DESCRIPTION:  I think row, column, rowgroup, and columngroup backgrounds should
not extend into the border spacing.  (For groups, I mean only at the edges of
the groups.)  This is a contradiction in the current CSS spec, see:

http://lists.w3.org/Archives/Public/www-style/1999Jul/0077.html (4th comment)
http://lists.w3.org/Archives/Public/www-style/1999Jun/0001.html (and replies)

STEPS TO REPRODUCE:
 * load attached test case

ACTUAL RESULTS:
 * there are no gaps between the gray and white table row backgrounds
 * There are slight (ugly) bits of gray and white outside the edges of the
yellow header cells and the bordered cell in the 5th row

EXPECTED RESULTS:
 * there should be gaps between the gray and white table row backgrounds.
 * there should be no gray/white around the edges of the yellow background of
the headers or the black border of the cell in the fifth row

DOES NOT WORK CORRECTLY ON:
 * Linux, apprunner, 1999-10-08-08-M11
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
I vaugely remember having this conversation with Karnaze. From what I
recall, this behavior is not well defined by CSS2.
In CSS2 section 17.6.1 The separated borders model:
"The 'border-spacing' property specifies the distance between the borders of
adjacent cells. This space is filled with the background of the table element"

However, this is inconsistent with the notion of row, colum, row group and col
group backgrounds, as some portion of those boxes must by definition cover
inter-cell spacing. We went for consistency of box model and shared the borer
spacing between the rows/cols/groups.
Status: RESOLVED → VERIFIED
Verifying WONTFIX
Keywords: css2
Migrating from {css2} to css2 keyword. The {css1}, {css2}, {css3} and {css-moz}
radars should now be considered deprecated in favour of keywords.
I am *really* sorry about the spam...
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: