Closed Bug 444000 Opened 16 years ago Closed 16 years ago

[BC] background and border drawn outside of overflow area

Categories

(Core :: Layout: Tables, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 423823

People

(Reporter: eric.jain, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0

Combining border-collapse:collapse on a table + overflow:auto/height on a tbody + background-color on the tds can result in the background color (but not the td contents) being shown where the table cells would be if they weren't hidden.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Attached file Test Page
Attached image Screen Shot
Yet another one of the infamous border-collapse bugs.

I doubt it's an entierly new bug, but I can't tell wether it's a dupe or not.
-> Confirming for now.

You can work around it if you put the table into a div element with the same height and overflow:hidden.
Component: Layout → Layout: Tables
Depends on: 203686
Keywords: testcase
OS: Windows XP → All
QA Contact: layout → layout.tables
Hardware: PC → All
Summary: Background color shows in non-visible area → [BC] background and border drawn outside of overflow area
Version: unspecified → Trunk
Sorry for the spam. It didn't take the NEW stat.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: