Closed Bug 471826 Opened 16 years ago Closed 16 years ago

Part of a Div with a set width and overflow:auto gets hidden if it contains a lot of text

Categories

(Core :: Layout: Block and Inline, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 215055

People

(Reporter: messmail, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 A div with a lot of content, with overflow set to auto, will hide part of its content, if the width of the div is also set. Reproducible: Always Steps to Reproduce: 1. create an HTML doc with this content: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Test FF overflow error</title> </head> <body> <div style= "min-height:500px;width:600px;margin:auto;overflow:auto;"> Add a lot of text here, I used 8000 lines with a break at the end <div style="color:#F00;">END</div> </div> </body> </html> 2. Open the HTML page in FF 2 or FF 3 3. Scroll down, the content disapears after around line 1650 in my example Actual Results: If you Scroll down, the content disapears if you scroll down enough. You will not see the red word END at the bottom of the div. Expected Results: Content should be visible, if you scroll down. This might seem like a theoretical problem, but we discovered this while using an open source CMS, where one of the administrative pages is quite long. I reduced the problem to the example HTML file. I only tested this on Windows.
Component: General → Layout: Block and Inline
Product: Firefox → Core
QA Contact: general → layout.block-and-inline
Thanks for reporting.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.