Closed
Bug 319167
Opened 20 years ago
Closed 15 years ago
max height not honored for tbody overflow:auto scrolling
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: clodoaldo.pinto, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(1 file)
769 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Using the css properties overflow:auto and max-height on tbody creates a scrollable table with fixed headers in FF 1.0.7 and in Mozilla 1.7.3
FF 1.5 broke it.
Reproducible: Always
Steps to Reproduce:
1.Run the provided code in the FF 1.0.7 and in FF 1.5
2.
3.
Actual Results:
FF 1.5 does show the table without the scroll bar and with the full lenght
Expected Results:
FF 1.5 should show a scrollable table with fixed headers and max-height.
Example code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style>
tbody {
overflow: auto;
max-height: 150px;
}
</style>
</head>
<body>
<table>
<thead>
<tr><th>head1</th><th>head2</th></tr>
</thead>
<tbody>
<tr><td>abc</td><td>def</td></tr>
<tr><td>abc</td><td>def</td></tr>
<tr><td>abc</td><td>def</td></tr>
<tr><td>abc</td><td>def</td></tr>
<tr><td>abc</td><td>def</td></tr>
<tr><td>abc</td><td>def</td></tr>
<tr><td>abc</td><td>def</td></tr>
<tr><td>abc</td><td>def</td></tr>
<tr><td>abc</td><td>def</td></tr>
<tr><td>abc</td><td>def</td></tr>
</tbody>
</table>
</body>
</html>
Reporter | ||
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
*** This bug has been marked as a duplicate of 223077 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 3•20 years ago
|
||
(In reply to comment #2)
>
> *** This bug has been marked as a duplicate of 223077 ***
>
This bug is not the same as 223077. Indeed i never saw the behavior described in that bug.
The bug i report here is not about tbody cells being different widths as the thead cells as described in 223077.
The bug i report here is about the overflow:auto applied to the tbody not creating a scrollable tbody with fixed heads as it did before FF 1.5
To reproduce this bug load the page i supplied both in FF 1.5 and FF pre 1.5. Just click in the attached page in each browser. It will show clearly. If you can't do it in both versions you won't see the bug and you can't classify it as anything but as unconfirmed.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Reporter | ||
Updated•20 years ago
|
OS: Windows 2000 → All
Comment 4•20 years ago
|
||
Clodoaldo, I did check out your testcase. If you pull it up in the DOM Inspector you will see that it's exibiting the behavior that's described in bug 223077. The table cells are not aligned with the header columns. I just assumed that scrollbars not showing was a side-effect of the bug.
Reporter | ||
Comment 5•20 years ago
|
||
(In reply to comment #4)
> Clodoaldo, I did check out your testcase. If you pull it up in the DOM
> Inspector you will see that it's exibiting the behavior that's described in bug
> 223077.
You mean the red flashing border when you click in tr, td or th? For me they all show dislocated both in the DOM Inpector in FF 1.5 and in the DOM Inspector in Mozilla 1.7.3.
> The table cells are not aligned with the header columns.
Then that bug exists now with FF 1.5 and already existed before, although i never saw it come to life in a rendered page.
The bug i described here did not exist before. So IMHO they are not correlated.
->Core:Tables
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
Version: unspecified → 1.8 Branch
![]() |
||
Comment 7•20 years ago
|
||
Almost certainly a regression from bug 240276. But note that per CSS "overflow" doesn't apply to table-row-groups (see bug 319907).
Blocks: 240276
Keywords: testcase
Summary: FF 1.5 broke tbody overflow:auto scrolling → max height not honored for tbody overflow:auto scrolling
Version: 1.8 Branch → Trunk
Comment 8•15 years ago
|
||
We don't support overflow for table rowgroup (bug 28800).
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•