Closed
Bug 814
Opened 26 years ago
Closed 26 years ago
overlapping floating elements - no!
Categories
(Core :: Layout, defect, P1)
Tracking
()
VERIFIED
FIXED
People
(Reporter: howcome, Assigned: buster)
References
()
Details
Floating elements should not overlap when space is to tight.
This is described in [1]:
If the current box is left-floating, and there are any left
floating boxes generated by elements earlier in the source document,
then for each such earlier box, either the left outer edge of the
current box must be to the right of the right outer edge of the
earlier box, or its top must be lower than the bottom of the
earlier box. Analogous rules hold for right-floating boxes.
[1] http://www.w3.org/TR/REC-CSS2/visuren.html#floats
I know this is different from how NS traditionally lays out
floating images. I think the time has come to change that behavior
-- or, alternatively -- let floating text elements behave
differently from floating images.
Updated•26 years ago
|
Assignee: peterl → troy
Component: Style System → Layout
Comment 2•26 years ago
|
||
Adding additional test cases for floats:
http://www.webstandards.org/~samurai/common/shame2/floatclear.html
http://www.w3.org/Style/CSS/Test/tsd.html
http://www.w3.org/Style/CSS/Test/w3c.html
You need to log in
before you can comment on or make changes to this bug.
Description
•