Closed Bug 532374 Opened 15 years ago Closed 15 years ago

table borders drawn at wrong position after scrolling a tbody with overflow:scroll in a border-collapse:collapse table

Categories

(Core :: Layout: Tables, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 135236

People

(Reporter: warstone, Unassigned)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.15) Gecko/2009102815 Ubuntu/9.04 (jaunty) Firefox/3.0.15
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.15) Gecko/2009102815 Ubuntu/9.04 (jaunty) Firefox/3.0.15

Here is some html code that shows the problem.


<html><head>
<style>
table{
	border-collapse:collapse;
}
tbody td{
	border:solid 1px #005599;
}
</style>
</head><body>
<table>
<thead><tr><td>column0</td><td>column1</td></tr></thead>
<tbody style="overflow:scroll;height:50px">
<tr><td>r0 c0</td><td>r0 c1</td></tr>
<tr><td>r1 c0</td><td>r1 c1</td></tr>
<tr><td>r2 c0</td><td>r2 c1</td></tr>
<tr><td>r3 c0</td><td>r3 c1</td></tr>
</tbody>
<tfoot><tr><td colspan=2>foot</td></tr></tfoot>
</table>
</body></html>

and here render: http://img11.imageshack.us/img11/7017/mozillafirefoxk.png

if you comment "border-collapse:collapse;" line than effect lost.

Reproducible: Always
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
Depends on: 28800
Summary: border-collapse:collapse and tBody.overflow:scroll bug → table borders drawn at wrong position with table { border-collapse:collapse } and tbody {overflow:scroll }
Summary: table borders drawn at wrong position with table { border-collapse:collapse } and tbody {overflow:scroll } → table borders drawn at wrong position after scrolling a tbody with overflow:scroll in a border-collapse:collapse table
Status: UNCONFIRMED → RESOLVED
Closed: 15 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: