Closed Bug 1301 Opened 26 years ago Closed 26 years ago

non-replaced floats without width should have 0 width

Categories

(Core :: Layout, defect, P3)

x86
Other
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: buster)

References

()

Details

non-replaced floating elements without a width specified should have width zero (according to both CSS1 and CSS2). I'm not quite sure what the current method of handling is, but it's not that, and it's hard to come up with any logical way to handle it, especially when multiple floats are around.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
There is now code to treat non-replaced floats with no width so that they aren't reflowed. The exception is tables and it's pretty clear, compatability wise, why that is so.
QA Contact: 3847
QA Contact: 3847 → 4110
Verified that they do have 0 width using the above test case. The borders and overflow are still issues. I think the overflow is covered by another bug, but it may be different. I'll report more when I finish the above test case. However, the subject of this bug is fixed, so I'm verifying here.
You need to log in before you can comment on or make changes to this bug.