Closed Bug 262702 Opened 21 years ago Closed 19 years ago

No horizontal scrollbar when HTML width is greater than viewport width

Categories

(Core :: Layout, defect)

defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jizo, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file, 2 obsolete files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 In the example page at http://www.waste.org/~jizo/regveg/index.html the page displays fine at >800x600 resolution. When we shrink it any smaller, to accomodate those still using smaller resolutions, the expected behavior is for content to overflow and a horizontal scrollbar to appear. However, the scrollbar is not displayed and the overflow content is lost. Both the HTML and the CSS have been validated, and I have spent weeks to no avail trying to figure out if there is something stupid in either of the above. Unfortunately, I - and a couple of others I've shown this to - can only conclude this is a bug. I have been able to reproduce this effect on any Mozilla/Firefox browser with the newest engine (rv:1.7.3) on Windows 2000 and in Debian GNU/Linux. The browsers with 1.6.x engines in the above mentioned OS's do not have this bug. Reproducible: Always Steps to Reproduce: 1. Open a browser using the 1.7.3 engine and navigate to http://www.waste.org/~jizo/regveg/index.html 2. Shrink the browser down to <800x600 (the page is set to overlow horizontally at 770px) Actual Results: The page shrinks and overflows as expected. However, the horizontal scrollbar that should display does not. I am left with content overflowing on the right side of the page that I can't get to. Expected Results: A horizontal scrollbar should have displayed, allowing me to scroll right. Again, I've noticed it on any browser using the 1.7.3 engine on both a Windows 2000 and a Debian GNU/Linux OS. I have not installed or used any extentions in any of these browsers.
Assignee: firefox → general
Component: General → Browser-General
Product: Firefox → Browser
QA Contact: firefox.general → general
Version: unspecified → Trunk
Confirming with Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 but is similar to Bug #261184 also bug #192767 could be related
Attached file Simplified Testcase (obsolete) —
Seems as though the HTML { min-width: 770px; } is causing the problem
Keywords: testcase
body { min-width: 770px; } seems to work fine. Changing summary from horizontal scrollbar does not display when there is a horizontal overflow To No horizontal scrollbar when HTML min-width is greater than viewport width
Summary: horizontal scrollbar does not display when there is a horizontal overflow → No horizontal scrollbar when HTML min-width is greater than viewport width
Summary: No horizontal scrollbar when HTML min-width is greater than viewport width → No horizontal scrollbar when HTML width is greater than viewport width
Attachment #160929 - Attachment is obsolete: true
Attachment #160995 - Attachment is obsolete: true
Confirming. roc, any idea what's up here? The parent of the html's frame is the canvas (which just stretches to be the size of the html's frame), then we have the scrollframe, and then the viewportframe. What really bugs me is that setting width on the body does create the scrollbars. I guess that's because the scrollframe shows scrollbars if the thing inside it overflows, and the html is not overflowing here? Or what?
Assignee: general → nobody
Status: UNCONFIRMED → NEW
Component: Browser-General → Layout: Misc Code
Ever confirmed: true
QA Contact: general → core.layout.misc-code
Not fixed in 1.5.0.x, but both testcases are WFM on trunk (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060525 Firefox/3.0a1).
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: