Closed Bug 293607 Opened 19 years ago Closed 19 years ago

two floats overlap

Categories

(Core :: Layout: Floats, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: hramrach, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; cs-CZ; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs-CZ; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

There is an image in a left float and text in a right float. Shrinking the
window makes large portion of the text hidden below the image.

Reproducible: Always
Attached file Test case.
I had to use a real image as mozilla refused to show nonexistent image with
appropriate size.

Test case created on WXP, original page broken on WXP Firefox 1.0.3 and OS X
Firefox+SVG after 1.0.2
It seems to me this is desired behavior.
IE6 refuses to make the left floating box smaller than the image inside it
(which is wrong behavior). That's why the whole left float gets pushed downwards
when the window gets smaller.
Opera8beta is doing the same as Mozilla.
Keywords: testcase
Yep, if you don't want this, use min-width instead of width.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: