Closed
Bug 13481
Opened 25 years ago
Closed 25 years ago
{css1} clear collapses margins!
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
FIXED
M12
People
(Reporter: ian, Assigned: buster)
References
()
Details
(Keywords: css1)
Giving a block a non-none value for the 'clear' property makes that element appear directly under the previous element (or previous float, whichever is lowest). It ignores any margins on previous siblings and itself. For example: <p style="margin: 30px"> Hello </p> <p style="clear: both"> World </p> ...renders without the vertical whitespace expected (30px). See http://www.bath.ac.uk/%7Epy8ieh/internet/projects/mozilla/clear.html David: I cc'ed you again as you seem to be the reporter of all the other 'clear' related bugs and therefore I assume you are very interested in this issue...
Fixed with a checkin earlier today. I was clobbering one of my "applyTopMargin" flags inappropriately (in this case exactly: when the child block element had clear style!).
Updated•25 years ago
|
QA Contact: petersen → chrisd
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 2•25 years ago
|
||
Using 9/28 Apprunner, verified bug fixed.
Reporter | ||
Comment 3•25 years ago
|
||
Migrating from {css1} to css1 keyword. The {css1}, {css2}, {css3} and {css-moz} radars should now be considered deprecated in favour of keywords. I am *really* sorry about the spam...
You need to log in
before you can comment on or make changes to this bug.
Description
•