Closed Bug 175183 Opened 22 years ago Closed 22 years ago

body style of overflow:hidden causes absolute positioned DIV contents not to be displayed.

Categories

(Core :: Layout, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

VERIFIED INVALID

People

(Reporter: snyderd, Assigned: attinasi)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016

I have condensed it down to a very simple testcase which will be uploaded.

I have found this bug in Both Win2k and Linux versions of the 1.2 beta.

Two things will break the bug:
1.  Remove overflow:hidden style attribute from the <body> tag OR
2.  Remove position:absolute attribute from my <div> tag.

This happens with any <div> contents, including images.


Reproducible: Always

Steps to Reproduce:
1.  Load the testcase

Actual Results:  
You don't see "I'm in a div body" as you should.  You only see "I'm in normal space"

Expected Results:  
Displayed BOTH "I'm in normal space" and "I'm in a div body"
Attached file Show the bug
Actually, the rendering there is correct... We fixed a bug in our handling of
overflow on the body element...

Try putting a border on the body and seeing where it ends.  Then make overflow
visible and see where the abs pos div is.  The point is, it overflows the body
and hence is hidden.

You may want to add:

body { height: 100% }

or something along those lines to your stylesheets...
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
QA Contact: petersen → moied
verified invalid
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: