Closed
Bug 296010
Opened 20 years ago
Closed 20 years ago
When using overflow:auto and a dev inside a table, FireFox resizes the table instead of adding scrollbars when the div does not fit inside the table
Categories
(Core :: Layout: Tables, defect)
Core
Layout: Tables
Tracking
()
RESOLVED
DUPLICATE
of bug 210657
People
(Reporter: L.Gorter, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 When using a table with a height expressed in pixels, and a div with a height expressed in a percentage inside one of the cells. Firefox resizes the table when the div gets too large and overflow is set to auto. Also when the height of the table is defined by the content of another cell, the same problem occurs. See the example in the additional information Reproducible: Always Steps to Reproduce: 1. Create a HTML file with the content of the example (see additional information section) 2. View the HTML file using FireFox (version 1.0.4) Actual Results: You see a table whith the height of the div Expected Results: Since the div is bigger than the height of the table and the overflow property is set to auto, the table should be the size specified in the HTML code and a scrollbar should be added to the cell with a too large content <html> <body> <table height="40px"> <tr> <td> <br>H<br>I<br> </td> <td> <div border="1" style="height: 100%; overflow: auto;"> <br>H<br>E<br>L<br>L<br>O<br> </div> </td> </tr> </table> </body> </html>
Is this the same as bug 210657? Also, per my experimentation, -> Trunk.
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
Version: unspecified → Trunk
Reporter | ||
Comment 2•20 years ago
|
||
*** This bug has been marked as a duplicate of 210657 ***
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.
Description
•