Closed Bug 295859 Opened 20 years ago Closed 20 years ago

table border collapse does not respect "overflow: auto" style applied to tbody

Categories

(Core :: Layout, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 135236

People

(Reporter: paolo.lombardi, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; it-IT; rv:1.7.5) Gecko/20041110 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; it-IT; rv:1.7.5) Gecko/20041110 Firefox/1.0

I tried to create a table with a fixed header and a tbody with vertical scroll,
implemented with an "overflow:auto" style applied to tbody itself.

If border-collapse is set to "separate" border model (default), everything works
fine, but when I set the "collapsing" border model, something strange appears. I
particular it seems that border is rendered on a plane not affected by the
"overflow: auto" style.

Reproducible: Always

Steps to Reproduce:
Browse http://www.seven-segments.com/firefox/table.html or...

1. Create table with thead, tbody and several rows in tbody
2. Set tbody height to a very small value and assign "overflow:auto" style
3. Assign a solid border to table cells and set "collapse" border model

Actual Results:  
Border is rendered outside the assigned boundaries of tbody and it is not
affected by scrolling.

Expected Results:  
Border should be rendered within the tbody and scroll with its content, just
like it does when "separated" border model is choosen.
could you attach a testcase please
This is a very simple and rough test-case (the same provided in the URL entered
when submitting bug), but the problem is clearly evident. Borders cross tbody
boundaries and when scrolling tbody borders does not scroll.
Component: General → Layout
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → Trunk

*** This bug has been marked as a duplicate of 135236 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 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: