Closed Bug 22897 Opened 25 years ago Closed 23 years ago

TABLE with STYLE="border-collapse: collapse;" has double bottom border

Categories

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

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.9

People

(Reporter: martin.honnen, Assigned: karnaze)

References

Details

(Keywords: css2, testcase, Whiteboard: [awd:tbl] likely dups: 2130, 12462; also 26614, 31256)

Attachments

(1 file)

The following produces a strange table with two line bottom and right border

<HTML>
<HEAD>
<STYLE>
#aTable TD { border: 2px solid lime; }
</STYLE>
<SCRIPT>
var colors = ['black', 'blue', 'red', 'lime'];
var col = 0;
</SCRIPT>
</HEAD>
<BODY>
<TABLE ID="aTable" STYLE="border-collapse: collapse; border: 4px solid lime;">
<TR>
<TD>
All for Kibology
</TD>
<TD>
Kibology for all
</TD>
<TD>
All for Scriptology
</TD>
</TR>
</TABLE>
<BR>
</BODY>
</HTML>
Attached file bug demo
There might be a bug on this already -- I may or may not have filed it.  Some
part of the interior of the table is being displaced up and to the right, I
think.

Probably an HTMLTables bug.
Changing component to HTMLTables and reassigning.  I've seen this before, and
I'm pretty sure it's a tables bug.
Component: Style System → HTMLTables
Oops.  Didn't actually reassign...
Assignee: pierre → karnaze
Status: NEW → ASSIGNED
Target Milestone: M16
Whiteboard: likely dups: 2130, 12462; also 26614, 31256
Blocks: 9191
Moving to M17.
Target Milestone: M16 → M17

*** This bug has been marked as a duplicate of 41262 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
I should have made a dependency instead of a dup. 
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Status: REOPENED → ASSIGNED
Depends on: 41262
Adding testcase keyword so this doesn't show up on the bugathon search page.
Keywords: testcase
Target Milestone: M17 → ---
Moving to m1.0
Target Milestone: --- → mozilla1.0
QA contact update
QA Contact: chrisd → amar
What the hell is this supposed to do? I can't find the "border-collapse"
properity in the specs. The only thing I can find says "In CSS2, horizontal
margins never collapse." 
http://www.w3.org/TR/REC-CSS2/box.html#collapsing-margins
Never mind. I'm a fuckwit. Just found it in the "table" section. 
See also bug 12462, double collapsed borders are quadruple.
This bug has to do with displacement of an inner part of the table, whereas bug
12462 has to do with the way the gfx border-drawing code is misused.
Whiteboard: likely dups: 2130, 12462; also 26614, 31256 → [awd:tbl] likely dups: 2130, 12462; also 26614, 31256
Target Milestone: mozilla1.0 → mozilla0.9.8
->m099
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Marking nsbeta1+
Keywords: nsbeta1+
Fixed by meta bug 41262.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago23 years ago
Resolution: --- → FIXED
 Works fine. Verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: