Closed Bug 234356 Opened 21 years ago Closed 21 years ago

Floats seem to clear other floats when they shouldn't

Categories

(Core :: Layout: Floats, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: johnthebig66, Unassigned)

References

()

Details

User-Agent: Build Identifier: Firebird 0.7 A container has a series of left floats that are forced to stack vertically because they are too wide for two to fit horizontally. Then a right float comes next, and altho it is narrow enough to fit in the gap remaining on the right side of the container, it only rises 'til it's even with the last left float, and then stops there. Op7 lets it rise to the top of the container, and I believe this is the correct behavior. Reproducible: Always Steps to Reproduce: 1.container at 350px wide. 2.left float series at 200px wide in container. 3.one right float at 100px wide following left floats. Actual Results: Right float failed to rise to top of container. Expected Results: Put the right float at top of container.
> Op7 lets it rise to the top of the container, and I believe this is the correct > behavior. It's not. See http://www.w3.org/TR/CSS21/visuren.html#propdef-float rule 5: "The outer top of a floating box may not be higher than the outer top of any block or floated box generated by an element earlier in the source document." So our layout is in fact correct.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.