Closed Bug 408757 Opened 17 years ago Closed 17 years ago

Text bounding box isn't properly considered when layout around float:s is calculated

Categories

(Core :: Layout: Floats, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 25888

People

(Reporter: klebom, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Build Identifier: 

Text bounding box isn't properly considered when layout around float:s is calculated. It seems like only the upper left and right corners are used in the calculations. This causes text to overlap float:s in many cases.

The attached test case is some what extreme in this regard but clearly illustrates the problem.

tested with

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9

Result is the same

Reproducible: Always
Attached file testcase
Another testcase can be found at http://klebom.se/stellan/css/textboxclearing/
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: