Closed
Bug 14140
Opened 26 years ago
Closed 26 years ago
Auto-width floated div is too small
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: hyp-x, Assigned: buster)
Details
Attachments
(1 file)
|
79 bytes,
text/html
|
Details |
Example:
<div style="float:left">Two words</div>
Expected behaviour:
Wrapping should only occur if the viewport is too narrow to display the text
in a single line.
Actual behaviour:
The two words are shown in two lines regardless of the window size.
Regression:
Occurs on: 1999-09-16-08 apprunner (Win98)
Doesn't occur on: NS 4.51, IE 4
| Reporter | ||
Comment 1•26 years ago
|
||
I think this bug should be marked invalid, unless you want to ignore the CSS
spec for compatibility's sake, which I am against.
CSS2 says (in 10.3.5, I think) that non-replaced floating elements with auto
width should have width 0. (Note that the rules are different for replaced
elements and that tables act kinda like replaced elements.)
The css spec is quite clear on how to treat these, and we do the right thing.
Since floating div's aren't really supported in prior nav releases, there is
really no point in getting worked up for compatabilities sake.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•26 years ago
|
||
Based on kipp's comments, markingh as verified invalid.
You need to log in
before you can comment on or make changes to this bug.
Description
•