Closed Bug 2747 Opened 26 years ago Closed 26 years ago

width:auto should not result in growing to fit contents!

Categories

(Core :: Layout, defect, P2)

Other
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: ian, Assigned: buster)

References

()

Details

In the test page above, Part 3, the middle box should not grow to accomodate the inner box (the PRE) because the width value of auto should result in it fitting in its PARENT. This should result in the middle box being roughly square. See the CSS2 spec, horizontal formatting model, for more details.
Assignee: troy → kipp
Kipp, this should work once block/inline are converted to use the new computed info in nsHTMLReflowState
Setting all current Open/Normal to M4.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Nice catch. I just checked in a fix.
QA Contact: 4110
chrisd as QA contact
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.