Closed Bug 338100 Opened 19 years ago Closed 16 years ago

body height wrongly calculated using horizontal scrollbars height and leading to unnecessary vertical scrollbars

Categories

(Core :: Layout, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jicha, Assigned: roc)

References

()

Details

(Keywords: regression, testcase)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; cs; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; cs; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3 Horizontal scrollbar is not taken into account when calculating 100% body height. In the testcase if you shrink browser window so that horizontal scrollbar appears (below 600px), you'll also get a vertical scrollbar. Reproducible: Always Steps to Reproduce: 1. If windows is wider then 600px, there are no scrollbars - that's correct. 2. Now shrink (resize) browser's window to be narrower then 600px (blue part demonstrates it). Actual Results: You get horizontal and vertical scrollbars. Expected Results: You should only get horizontal scrollbar, because body height is set to 100%. Body height should be calculated without horizontal scrollbar. It is not a part of a webpage. It works correctly with 100% width, but not with 100% height.
I see what you described on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060515 Minefield/3.0a1 ID:2006051515 [cairo] -> NEW -> Core - XP Toolkit/Widgets
Status: UNCONFIRMED → NEW
Component: General → XP Toolkit/Widgets
Ever confirmed: true
Keywords: testcase
Product: Firefox → Core
Summary: Vertical scrollbars with 100% height → body height wrongly calculated using horizontal scrollbars height and leading to unnecessary vertical scrollbars
Version: unspecified → Trunk
Assignee: nobody → jag
QA Contact: general → jrgmorrison
Almost certainly a regression from bug 240276, then.
Assignee: jag → nobody
Blocks: 240276
Component: XP Toolkit/Widgets → Layout
Keywords: regression
QA Contact: jrgmorrison → layout
Assignee: nobody → roc
WFM using Firefox trunk on Mac. I only get a horizontal scrollbar :)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.