Closed
Bug 1808
Opened 26 years ago
Closed 25 years ago
CSS clear doesn't quite clear (regression)
Categories
(Core :: Layout, defect, P2)
Tracking
()
VERIFIED
FIXED
M6
People
(Reporter: dbaron, Assigned: buster)
References
()
Details
A line that has been cleared (i.e., clear: left) starts around (possibly just above) where it should be vertically, but the first line of the text wraps next to the float below which it should be cleared. The problem on this page occurs just below the four left-floating boxes next to each other.
the bug is actually caused by the delayed application of top-margins.
Status: NEW → ASSIGNED
Updated•26 years ago
|
Severity: normal → major
Comment 2•26 years ago
|
||
I believe this bug is also causing the problem on http://www.w3.org/Style/CSS/Test/current/sec5526b.htm where the second float is not quite clearing the first, and so is misplaced. This can cause major layout problems, so bumping up the severity.
Reporter | ||
Comment 3•26 years ago
|
||
This also causes problems on 5.5.25c and 5.5.25d (because it also effects the presentational HTML clear).
Reporter | ||
Comment 4•26 years ago
|
||
The problem is triggered by the margin on the floating element. (If I set the margin to 0, it is fine.) What you need to do is use the margin on the floating element but not the margin on the non-floating one. The best way to think about this may be as the spec says: increase the top margin on the element with clear until its top border edge is below the bottom margin edge of the floating element.
Comment 6•26 years ago
|
||
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Reporter | ||
Comment 7•25 years ago
|
||
New test case for this bug: http://www.fas.harvard.edu/~dbaron/tests/nglayout/topmarg3
We now lay this page out properly. Look for the fix in tommorows build.
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 9•25 years ago
|
||
Verified fixed.
Comment 10•25 years ago
|
||
*** Bug 6731 has been marked as a duplicate of this bug. ***
Comment 11•25 years ago
|
||
??? Bug 6731 quite clearly has not been marked as a dup of this one.
You need to log in
before you can comment on or make changes to this bug.
Description
•