Closed Bug 391136 Opened 17 years ago Closed 14 years ago

A border-collapse table affects the layout (style data?) of a different table element

Categories

(Core :: Layout: Tables, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 186317

People

(Reporter: terrafrost, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(6 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6

Compare the following two pages:

http://www.frostjedi.com/terra/scripts/demo/reversi/tables-collapse.html
http://www.frostjedi.com/terra/scripts/demo/reversi/tables-collapse2.html

Note the appearance of the second table on the first page in Firefox. The only difference between it and the first table is the border-collapse setting. Contrast this with the second page. Three tables, two border-collapse settings. The same two we saw on this page. Yet one of the border-collapse settings looks differently on that page then it does on this page.

In Internet Explorer, it's consistent for both pages.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
Version: unspecified → Trunk
Attached file HTML to demonstrate the problem (obsolete) —
I've experienced the same problems, but have also noticed that the presence or absence of heading and/or data cells in the first table affect how those in the third are displayed.  This attachment is a standalone file that can be viewed in four different ways to demonstrate the problem: just click each of the links and see how the third table changes.
Sorry, didn't realise the attachment wouldn't retain its filename: save it as tables.html and then open it.
Keywords: testcase
Attached file Testcase #3a
Attachment #280331 - Attachment is obsolete: true
Attached file Testcase #3b
Attached file Testcase #3c
Attached file Testcase #3d
Maybe related to bug 211636?
http://hg.mozilla.org/mozilla-central/file/30d9ff763b22/content/html/content/src/nsHTMLTableElement.cpp#l1117
Status: UNCONFIRMED → NEW
Depends on: 211636
Ever confirmed: true
Flags: in-testsuite?
OS: Windows XP → All
Hardware: PC → All
Summary: inconsistent border-collapse renderings → A border-collapse table affects the layout (style data?) of a different table element
is this bug a dupe of bug 186317
the code in comment 9 is already marked for removal see the patch for bug 43178, which is slowly moving trough review mills.
this is wfm due to the fix for bug 43178, I will check in a test case for bug 186317
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: