Closed Bug 479889 Opened 15 years ago Closed 9 years ago

Failed reflow when changing display in a float, if the change in height is less than a sibling's padding-top

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: sarah.airbender, Unassigned)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.48 Safari/525.19
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6

A div has, say, 290 pixel top padding. If the float changes height by less than 290 pixels, it fails to reflow, so the new float content overlaps the old static content. 

Reproducible: Always

Steps to Reproduce:
1. you have two floats
2. one of them has top padding
3. the other's height is being changed
Actual Results:  
The content in the two floats overlap eachother

Expected Results:  
The static text should move down to make room for the other float's new height
Behavior also exists with a recent (2.0b3pre (1.9.0.8pre 2009022319)) build of Camino on Tiger-PPC.
Is a regression from bug 300030.
Component: General → Layout
Keywords: regression
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → Trunk
Now works fine :)
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: