Closed
Bug 211725
Opened 22 years ago
Closed 22 years ago
fabrice-pascal.de/bugbase/fb06wherecontent/ - no content shown
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: jacksmall, Unassigned)
References
()
Details
Attachments
(1 file)
1.27 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030525 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030525 Mozilla Firebird/0.6
No content shown apart from two validation logos.
Discussion and multiple confirmations here:
http://forums.mozillazine.org/viewtopic.php?t=14955
Reproducible: Always
Steps to Reproduce:
Comment 1•22 years ago
|
||
Also occurs in Mozilla 2003062708. Moving to Browser/B-G pending triage.
Assignee: blaker → general
Component: General → Browser-General
Product: Phoenix → Browser
QA Contact: asa → general
Version: unspecified → Trunk
Comment 2•22 years ago
|
||
I'm not sure what the correct behavior is, but the issue is stemming from this:
div#highlights {
position: absolute;
top: 100px;
left: 80%;
width: 20%;
background-color: #ddeeff;
color: #005599;
border: 1px solid #001155;
border-left: none;
margin-left: -1px;
}
The DIV is placed left 80%, then the width takes up 20%. The border-right, it
sounds like, is out of room to be rendered as it were. If I reduce the width to
19%, it shows right up.
->Layout
Assignee: general → other
Component: Browser-General → Layout
QA Contact: general → ian
Comment 3•22 years ago
|
||
Sorry, disregard that last. Dropped it into the wrong open tab.
Comment 4•22 years ago
|
||
->back to B-G
Assignee: other → general
Component: Layout → Browser-General
QA Contact: ian → general
Comment 5•22 years ago
|
||
Comment 6•22 years ago
|
||
->Layout
According to the Mozillazine comment, the problem comes from overflow:hidden
being on the div that holds all the content, and then all the content being in
floated divs that cause an overflow.
I don't pretend to understand if that's accurate. :) Minimal testcase attached.
Assignee: general → other
Component: Browser-General → Layout
QA Contact: general → ian
Comment 8•22 years ago
|
||
Floats do not affect the height of their parents:
"Only children in the normal flow are taken into account (i.e., floating boxes
and absolutely positioned boxes are ignored, and relatively positioned boxes
are considered without their offset)."
http://www.w3.org/TR/CSS21/visudet.html#q19
See also the examples at http://www.w3.org/TR/CSS21/visuren.html#floats
If you add a <br clear="all"> at the end after the floats you get the effect
that the parent shrink-wraps the content including the floats.
*** This bug has been marked as a duplicate of 22431 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•