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)

x86
Windows 95
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 28800

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>
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.
Is anyone working on this? I'm seeing the same problem with a XUL box element that has "overflow:auto". Would it be related?
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 28800 ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: