Open
Bug 549926
Opened 15 years ago
Updated 2 years ago
Float/margin properties prevent some reflows on display=none events
Categories
(Core :: Layout: Floats, defect)
Core
Layout: Floats
Tracking
()
NEW
People
(Reporter: chase.seibert, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8
When dynamically hiding elements via Javascript, the page does not reflow correctly.
Reproducible: Always
Steps to Reproduce:
1. Open attached html file.
2. Click on "click me"
Actual Results:
There is still a gap between "before" and "after".
Expected Results:
There should be no gap; the hidden DIV should collapse.
Does work in:
Chrome 5.0.307
IE 8.0
Safari 4.0.3
Opera 10.50
Seems to be a DOM reflow problem. When I update the DOM trivially in Firebug, it collapses.
Reporter | ||
Comment 1•15 years ago
|
||
Comment 2•15 years ago
|
||
Confirmed with Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a3pre) Gecko/20100303 Minefield/3.7a3pre
Component: General → Layout
OS: Linux → All
Product: Firefox → Core
QA Contact: general → layout
Hardware: x86 → All
Version: unspecified → Trunk
Comment 3•15 years ago
|
||
Seems eerily similar to bug 521875. roc, could that trigger this problem?
I did check that the problem happens in standards mode too, by the way.
Possibly, I'm not sure.
Comment 5•9 years ago
|
||
Updated•9 years ago
|
Component: Layout → Layout: Floats
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•