Open
Bug 166194
Opened 22 years ago
Updated 2 years ago
[MARGIN-C]{inc}[float]style.display = 'none' problem: margin-bottom remains (moz 1.1b+)
Categories
(Core :: Layout: Floats, defect, P3)
Tracking
()
NEW
Future
People
(Reporter: quieroshafaru, Unassigned)
References
(Depends on 1 open bug, )
Details
Attachments
(1 file, 3 obsolete files)
(deleted),
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020901
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020901
http://ra.dns2go.com/BOD/mappa/test.html is up when I'm online.
Reproducible: Always
Steps to Reproduce:
1. Open un the page in moz 1.1b
2. Open a menu to see hidden menus
3. Close that same menu you've just opened
Actual Results:
the <ul>'s margin-bottom is still displayed, but the <ul> itself is no longer there.
Expected Results:
display none of that <ul>
Reporter | ||
Comment 1•22 years ago
|
||
Comment 2•22 years ago
|
||
Please post a screenshot of your problem (I don't see a problem it on 2002090208
WinXP).
Comment 3•22 years ago
|
||
Attachment #97520 -
Attachment is obsolete: true
Comment 4•22 years ago
|
||
Attachment #97558 -
Attachment is obsolete: true
Comment 5•22 years ago
|
||
To layout. Looks like destroying the floater frame is not properly reflowing
following floaters.... The nested <div class="item"> is actually unnecessary to
reproduce the problem, but makes things look a little neater.
Assignee: jst → attinasi
Status: UNCONFIRMED → NEW
Component: DOM Style → Layout
Ever confirmed: true
QA Contact: ian → petersen
Summary: style.display = 'none' problem: margin-bottom remains (moz 1.1b+) → [float]style.display = 'none' problem: margin-bottom remains (moz 1.1b+)
Updated•22 years ago
|
QA Contact: petersen → amar
Updated•22 years ago
|
Priority: -- → P4
Comment 6•22 years ago
|
||
I use a CSS @media print definition of display : none to suppress a bunch of
text and images contained in a division (NOPRTDIV) when a request is made to
print a schedule on my web page. In IE5 it works as expected, the division is
not displayed and the space for it is collapsed. In Mozilla 1.1, the division is
not displayed, but the space is *not* collapsed creating an extra printed page
with only the 'Last date updated'.
My website page in question is
http://www.arnb.org/phnynj.html
If you want to test this, use the print function on top the left frame to insure
proper frame selection when printing. It's only necessary to print or preview
the first two or three pages. If you attempt to print with the browser print
button, you will understand why I added this function.
The CSS for Mozilla
http://www.arnb.org/NS5UP.css
The CSS for IE5+
http://www.arnb.org/IE5.css
The difference between these css files is the font size used on the screen media.
The CSS statement is written to the page with
http://www.arnb.org/Sniff.js
Updated•22 years ago
|
Target Milestone: --- → Future
is the problem I'm experiencing at http://joust.kano.net the same thing? It's
slightly different. (try clicking on the orange "joscar" table header.)
Comment 8•22 years ago
|
||
==> floats
Assignee: attinasi → float
Component: Layout → Layout: Floats
QA Contact: amar → ian
Updated•22 years ago
|
Summary: [float]style.display = 'none' problem: margin-bottom remains (moz 1.1b+) → [MARGIN-C]{inc}[float]style.display = 'none' problem: margin-bottom remains (moz 1.1b+)
Updated•22 years ago
|
Priority: P4 → P2
Comment 9•22 years ago
|
||
Slightly simpler (mainly the CSS and JS).
Attachment #97559 -
Attachment is obsolete: true
Comment 10•22 years ago
|
||
(Technically the way the CSS spec works is impossible in this testcase (when
expanded), due to the interaction of 'clear' monkeying with margins and margin
collapsing.)
Comment 11•20 years ago
|
||
This bug as originally filed seems to be fixed by the patch in bug 257612.
There remains the issue of the "click here to toggle" text ending up with margin
above it due to margin-collapsing and clear interacting weirdly somehow...
Comment 12•17 years ago
|
||
This is actually a margin-collapsing bug: we're simultaneously collapsing the margin and treating it as uncollapsed. My rough guess is that the margin-collapsing code isn't retrying when a child ends up with clearance.
Note that this is not an incremental reflow bug; it works exactly the same in a static situation.
Flags: blocking1.9?
Updated•17 years ago
|
Flags: blocking1.9? → blocking1.9-
Whiteboard: [wanted-1.9]
Updated•17 years ago
|
Flags: wanted1.9+
Whiteboard: [wanted-1.9]
Flags: wanted1.9+ → wanted1.9-
Updated•15 years ago
|
Assignee: layout.floats → nobody
QA Contact: ian → layout.floats
Comment 13•6 years ago
|
||
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•