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

VERIFIED INVALID

Status

()

Core
Layout
--
major
VERIFIED INVALID
16 years ago
16 years ago

People

(Reporter: David Snyder, Assigned: Marc Attinasi)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
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"
(Reporter)

Comment 1

16 years ago
Created attachment 103290 [details]
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
Last Resolved: 16 years ago
Resolution: --- → INVALID

Updated

16 years ago
QA Contact: petersen → moied

Comment 3

16 years ago
verified invalid
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.