Closed Bug 282069 Opened 20 years ago Closed 20 years ago

float right then float left (and vice versa) causes misplacement of subsequent blocks.

Categories

(Core :: Layout: Floats, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: fireweasel, Unassigned)

Details

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20050111
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20050111

After a float to one direction then a float to the other direction,
subsequent block-elements are positioned as if neither float was present.
This occurs even if there are non-floated block and non-block elements
between the floats !

Reproducible: Always

Steps to Reproduce:
1. Testcases provided.
2.
3.
Attached file Sigh. Wrong file sent. (obsolete) —
Attached file Simplest case.
Attachment #174174 - Attachment description: Simplest case. → Sigh. Wrong file sent.
Attachment #174174 - Attachment filename: flash3.xul
Attachment #174174 - Attachment is obsolete: true
This looks like correct behavior to me.  Blocks don't flow around floats; the
text within them does.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
(In reply to comment #4)
> This looks like correct behavior to me.  Blocks don't flow around floats; the
> text within them does.

The DIVs are on top of each other. at least, they are on my browser and
the current firefox for windows. That's never supposed to happen for
non-"position" boxes, is it ?
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
(In reply to comment #5)
> The DIVs are on top of each other. at least, they are on my browser and
> the current firefox for windows. That's never supposed to happen for
> non-"position" boxes, is it ?

As David said, it's not the blocks themselves that flow around the floats, it's
the text within them. Add some text in the pink div and you'll see.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: