Closed Bug 269233 Opened 20 years ago Closed 20 years ago

incorrect clearing of nested floats

Categories

(Core :: Layout, defect)

x86
Windows 98
defect
Not set
major

Tracking

()

VERIFIED INVALID

People

(Reporter: momat, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Win98; pl-PL; rv:1.7.5) Gecko/20041108 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Win98; pl-PL; rv:1.7.5) Gecko/20041108 Firefox/1.0

A content div contains two right floated divs (A and B), where the second one
(B) is additionaly cleared (to align vertically). Before the content div there
is another right floated div (C). The clear applied to B is positioned according
to the height of C, instead of the height of A.
It works fine in Mozilla Suit 1.7.3 and FireFox 0.10.1. This bug is also present
in IE and Opera.

Reproducible: Always
Steps to Reproduce:
Render the given URL in FireFox 1.0
Actual Results:  
The Cleared Floated Div is aligned vertically to the height of the Right Float.

Expected Results:  
The Cleared Floated Div should be aligned vertically to the height of the
Floated Div.
Attached file html test case
I think Bug 148994 has something to do with this.
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Browser
QA Contact: firefox.general → core.layout
Version: unspecified → Trunk
Yes - the new behaviour is the result of the fix to bug 148994. Unfortunately,
this new behaviour is the correct one according to the spec (see e.g. bug 148994
comment 7).

Sadly marking INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Verified.  Note that IE and Opera have been getting this right all along, hence
the "This bug is also present in IE and Opera" part of comment 0...
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: