Closed Bug 299954 Opened 19 years ago Closed 19 years ago

Render bug when nested div with style="display: none" are set to "display: block"

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: josh, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Case 1: SUCCESS
--<div style="display: none"> nested within normal div
--Another div is absolutely position to the bottom of the normal div
--The first div is "unhidden" and the normal div expands. 
--The absolutely positioned bottom div moves with the expantion
--This is correct

Case 2: FAIL
--Nested hidden divs
--Expand the top level hidden div and everything works
--Then expand the next hidden div, the absolutely positioned footer will not
move with the expansion.

Case 3: SUCCESS
--Same as absove except the footer div is relatively positioned. Everything works.

Reproducible: Always

Steps to Reproduce:
1.Go to page
2.Click on Buyer Radio
3.Click on Appointments Radio

Actual Results:  
I gasped in horror as my careful layout was scrambled by and immobile footer div.

Expected Results:  
It should have moved the absolutely positioned footer(positioned according to
the bottom of it's parent div) as the parent div expanded.

This is probably relatively non-critical as this bug is mirrored in Internet
Explorer. I would have had to make the footer div relative to accomidate IE anyway.
WFM, the div expanded, no layout problems that I can see

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050706
Firefox/1.0+ ID:2005070616
This WFM on recent trunk builds.
It was fixed on the trunk somewhere between 2004-11-03 and 2004-12-06.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.