Closed Bug 267513 Opened 20 years ago Closed 20 years ago

"clear" takes into account floats outside parent element

Categories

(Core :: Layout: Floats, defect)

1.0 Branch
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: fredericdesmoulins, Assigned: bugzilla)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041102 Firefox/1.0RC1 (Debian package 0.99+1.0RC1-3)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041102 Firefox/1.0RC1 (Debian package 0.99+1.0RC1-3)

Hi folks,

The page http://tofino.homelinux.org/fb/a.html displays a blue box which has a
height equals to the green's one instead of the height of the yellow one. This
behaviour appears with this recent release of firefox. I have still mozilla
installed on my computer (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20041007 Debian/1.7.3-5) and boxes are displayed correctly.

Actually, CSS clear property seems to refer to the top parent floating object
instead of the closest one. Am I wrong with that? Anyway, this behaviour is
different to previous releases.

Reproducible: Always
Steps to Reproduce:
1. 
2.
3.
The new behaviour is the result of fixing bug 148994, and according to the
comments on that bug, is the correct implementation of the standard.

Not that I like it - but they didn't ask me when creating the CSS standards.

So sadly marking INVALID. 
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Component: General → Layout: Floats
OS: Linux → All
Product: Firefox → Browser
Hardware: PC → All
Resolution: --- → INVALID
Summary: http://tofino.homelinux.org/fb/a.html → "clear" takes into account floats outside parent element
Version: unspecified → 1.0 Branch
Mozilla version is: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20041007 Debian/1.7.3-5

Firefox version is: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20041102 Firefox/1.0RC1 (Debian package 0.99+1.0RC1-3)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: