Closed Bug 278861 Opened 20 years ago Closed 20 years ago

position:relative changes float behaviour.

Categories

(Core :: Layout: Floats, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 281267

People

(Reporter: bugzilla.mozilla.org-3, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

I have a testcase containing a floating <p> inside a <div> with position:
relative. Text outside the <div> overlaps the text in the floating <p>. If I
resize the window, the text "jumps" out so that it no longer overlaps the
floating text.

Might be related to bug 273193.
Attached file Testcase
When I load this file, "Foobar" and "Lorem ipsum" overlaps. Resizing the window
makes "Lorem ipsum" move right.

If I remove the <img> from the testcase, everything works as expected.

BTW I am using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6)
Gecko/20050111 Firefox/1.0+
Depends on: 273193
Keywords: testcase
OS: Windows XP → All
Robert, do you know what's up here?

*** This bug has been marked as a duplicate of 281267 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: