Closed
Bug 279466
Opened 20 years ago
Closed 9 years ago
Text overlaps right float
Categories
(Core :: Layout: Floats, defect)
Tracking
()
People
(Reporter: jw_00000, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(2 files, 1 obsolete file)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.5) Gecko/20041202 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.5) Gecko/20041202 Firefox/1.0 At http://jw.clawz.com/sublayers.html, you see layers in layers. The borders of the layers are colored. At the first example, all sublayers are in the toplayer. In the second and third example, the toplayer doesn't contains any text, only the other layers. You see a yellow line where the toplayer starts. The text after the toplayers stands in the toplayer. Take a look at the source! Reproducible: Always Steps to Reproduce: (Look at the example at http://jw.clawz.com/sublayers.html) Expected Results: The text after the toplayer should be placed after the toplayer.
Summary: Layers (<div>s) in layers aren't coorectly displayed → Layers (<div>s) in layers aren't correctly displayed
Comment 2•20 years ago
|
||
Example 2 is rendered correctly. You removed all normal flow content from the yellow box so its height is zero, that's why "Text after toplayer" floats up next to the 2nd float:left. This is correct layout. Example 3 suffers from the same problem, but I think there is a layout bug there, the text "Text after toplayer" should stay clear of the right float but it overlaps it.
Assignee: firefox → nobody
Component: General → Layout: Floats
Keywords: testcase
OS: Windows XP → All
Product: Firefox → Core
QA Contact: general → layout.floats
Summary: Layers (<div>s) in layers aren't correctly displayed → Text overlaps right float
Version: unspecified → Trunk
Comment 3•20 years ago
|
||
The text should not overlap the right float here?
Attachment #172157 -
Attachment is obsolete: true
Comment 4•20 years ago
|
||
Here is another case that involves overlapping. This time floating dive overlaps with pre block if you make windo too narrow. IMHO if the div reaches the pre there should appear scrollbar for the whole body. MSIE does it that way.
Comment 5•20 years ago
|
||
The real-life example is at http://www.ee.pw.edu.pl/~stelmacl/xystray/. I've worked around the problem by setting min-width for the whole body at 750px. Yet this is not a good way.
This was fixed a long time ago, probably by...
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•