Closed Bug 306635 Opened 19 years ago Closed 19 years ago

CSS display bug. Element with height:auto, position:relative, overflow:hidden, and vertical em padding with absolute positioned child assumes incorrect initial height of zero. The render bug corrects itself on window resize.

Categories

(Core :: Layout: Block and Inline, defect)

1.7 Branch
x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: james, Unassigned)

References

()

Details

(Keywords: css2)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

Windows XP, Currently verified in FF 1.0.6 ans 1.0.3.

CSS display bug. Element with height:auto, position:relative, overflow:hidden,
and vertical em padding with absolute positioned child assumes incorrect initial
height of zero. The render bug corrects itself on window resize.

There are a few more details in the validating example.
http://cookiecrook.com/bugtests/moz_overflow_height_bug.htm


Reproducible: Always

Steps to Reproduce:
1. Load the example page with the CSS.


Actual Results:  
cosmetic rendering bug, no crash.

Expected Results:  
Renderer correctly displays the CSS once the window is resized. It should do
that on initial load, too.
WFM Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050831
Firefox/1.0+ ID:2005083104

Reporter, please try to reproduce using the latest branch build.

ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8/
Component: General → Layout: Block and Inline
Product: Firefox → Core
Version: unspecified → 1.0 Branch
WFM Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8b4) Gecko/20050905
Firefox/1.0+ ID:2005090518
Keywords: css2
Worksforme as well.  Scrollframes have been rewritted in Gecko 1.8; that probably fixed this.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Version: 1.0 Branch → 1.7 Branch
You need to log in before you can comment on or make changes to this bug.