Closed
Bug 74974
Opened 24 years ago
Closed 24 years ago
cell content is cut off when tbody style="height: 300px; overflow: auto" brings up scrollbar
Categories
(Core :: Layout: Tables, defect)
Tracking
()
People
(Reporter: martin.honnen, Assigned: karnaze)
Details
Attachments
(2 files)
Mozilla nicely allows to set CSS
height: 300px; overflow: auto;
to have a scrollable TBODY while the THEAD and TFOOT are fixed. But
unfortunately the content in the column closest to the scrollbar is cut off.
<HTML>
<HEAD>
<TITLE>
scrollable table body
</TITLE>
</HEAD>
<BODY>
<TABLE BORDER="1">
<THEAD>
<TR>
<TH>
No.
</TH>
<TH>
Name
</TH>
</TR>
</THEAD>
<TBODY STYLE="overflow: auto;
height: 300px;"
>
<SCRIPT>
for (var r = 0; r < 50; r++)
document.write('<TR><TD ALIGN="right">' + r
+ '<\/TD><TD>Kibo ' + r + '<\/TD><\/TR>');
</SCRIPT>
</TBODY>
<TFOOT>
<TR>
<TH>
No.
</TH>
<TH>
Name
</TH>
</TR>
</TFOOT>
</TABLE>
</BODY>
</HTML>
Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
I see this on WinNT4 SP6 with M0.8.1. Just in case, I also tested with the
TBody created by hand and not generated by JavaScript and saw the same problem.
Comment 3•24 years ago
|
||
Comment 4•24 years ago
|
||
Is anyone working on this?
I'm seeing the same problem with a XUL box element that has "overflow:auto".
Would it be related?
Assignee | ||
Updated•24 years ago
|
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•