Closed Bug 252372 Opened 20 years ago Closed 19 years ago

Percentage heights incorrectly interpreted in overflow: auto/hidden div with height: auto

Categories

(Core :: Web Painting, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sharparrow1, Assigned: roc)

References

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040720
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040720

When a div with height: auto and overflow: auto/hidden contains a div with a
percentage height (ie height: 100%), a gap is left of the height of the content
below and the content below requires scrolling to access.

Reproducible: Always
Steps to Reproduce:
1. View testcase (will attach)
Actual Results:  
Extra space occurs below the div with height: 100%, and the content below
requires scrolling to access

Expected Results:  
All the content should display without scrolling and with no blank spaces.
Attached file Testcase
Keywords: testcase
Fixed by the upcoming patch in bug 240276
Depends on: 240276
Testcase fails for me with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
rv:1.8b2) Gecko/20050422 Firefox/1.0+
Testcase works for me with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
rv:1.8b2) Gecko/20050428 Firefox/1.0+
Resolved Fixed as per bug 240276
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: