Closed Bug 211725 Opened 22 years ago Closed 22 years ago

fabrice-pascal.de/bugbase/fb06wherecontent/ - no content shown

Categories

(Core :: Layout, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 22431

People

(Reporter: jacksmall, Unassigned)

References

()

Details

Attachments

(1 file)

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:
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
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
Sorry, disregard that last. Dropped it into the wrong open tab.
->back to B-G
Assignee: other → general
Component: Layout → Browser-General
QA Contact: ian → general
Attached file testcase
->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
isn't this a dupe of bug 22431?
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.

Attachment

General

Creator:
Created:
Updated:
Size: