Closed
Bug 204869
Opened 22 years ago
Closed 22 years ago
text flow around floats is wrong for nested elements [FLOAT]
Categories
(Core :: Layout: Floats, defect)
Core
Layout: Floats
Tracking
()
RESOLVED
DUPLICATE
of bug 143162
People
(Reporter: david+bugs, Unassigned)
References
()
Details
When an inline element contained in a block-level element is made to flow around
a float, Mozilla adjusts the side edge next to the float at the block level
rather than at the line level.
For example, if an HTML list (ul) is made to flow around a float (say the float
is on the right), each of the lists's eleemnts (li) will have a fixed (straight)
right edge rather than flowing around the float as it should, creating an
unpleasant and incorrect blank under the float.
The given test case <URL:
http://www.eleves.ens.fr:8080/home/madore/.test/cssfloat3.html > should display
the problem clearly. In case it isn't clear, <URL:
http://www.eleves.ens.fr:8080/home/madore/.test/cssfloat3-snapshot.png > shows a
snapshot of how it renders, with a large red "BAD" added where the bug is.
The CSS spec apparently states that floats should not interfere with the
computation of normal sizes and positions of non-floated boxes. Mozilla seems
to believe that they should.
Also see <URL:
http://www.google.com/groups?threadm=b9cdu2%241tsc%241%40nef.ens.fr >.
Bug 75286 and bug 168160 seem related to this, but different.
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 143162 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•