Closed Bug 119654 Opened 22 years ago Closed 20 years ago

float left followed by float right error


(Core :: Layout: Floats, defect, P5)






(Reporter: erik, Unassigned)



(Keywords: compat, Whiteboard: INVALID: WONTFIX?)


(1 file)

Actual behavior: If one has an element with float left and directly after that 
an element with float right the second element is placed below the first 
element. If the order is changed the float right element is placed above.

Desired (correct?) behavior: The elements should be placed on the same line 
(same distance from the top). This works as expected in both Opera6 and IE6.

Mozilla version: 2002010903

Attachment follows...
I strongly think that our behavior is correct.  The 'auto'-width of floats
should depend on the contents of the float and of the width of the containing
block, but never on the available space.  See bug 85876 and bug 82315.
waterson, should things like this just be dupped to bug 99461?
Depends on: 99461
We probably ought to leave them as dependencies, since `fixing' bug 99461 is
probably what will have triggered most of them.

dbaron, hixie: I have a bad feeling that we're going to need to implement that
Target Milestone: --- → mozilla1.2
removing dependency
No longer depends on: 99461
restoring dependency (forgot that waterson wated to keep those, sorry)
Depends on: 99461
The CSS working group is very clear about what the right behaviour is here, so
if we really have to implement this, it will absolutely have to be limited to
quirks mode. I strongly urge you not to bother.
Keywords: compat
Assignee: attinasi → float
Component: Layout → Layout: Floats
QA Contact: petersen → ian
Summary: [FLOAT] float left followed by float right error → float left followed by float right error
Target Milestone: mozilla1.2alpha → ---
Severity: major → normal
OS: Windows 2000 → All
Priority: -- → P5
Hardware: PC → All
Target Milestone: --- → Future
I think we should just wontfix this.  If we ever decide to implement that quirk,
we'll end up with a bug to that effect and this one will just continue to rot.
WONTFIX. We have too many quirks as it is.
Closed: 20 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.