Closed
Bug 241317
Opened 20 years ago
Closed 19 years ago
Any overflow causes floats to be min-width calculated using IE-esque box model.
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: lowzl, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(1 file)
821 bytes,
application/xhtml+xml
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040414 Firefox/0.8 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040414 Firefox/0.8 Given a box { float: left; overflow: auto; /* or scroll or hidden */ min-width: 10em; padding: 1em; border: none; background: black; } Then, I expect a block of black 12em wide floated to the left. However, I get a 10em wide black block floated to the left. If I specify width: 10em instead of min-width: 10em, I get the expected results. Reproducible: Always Steps to Reproduce: Reproduced on Firefox 0.8/OS X (standard build)
Reporter | ||
Comment 1•20 years ago
|
||
A testcase. The green boxes have the correct dimensions, the red boxes don't.
Reporter | ||
Comment 2•20 years ago
|
||
Renders incorrectly on Mozilla 1.4/Linux too.
Comment 3•20 years ago
|
||
roc, what's that "scrollframe sucks" bug?
It's bug 240276.
Depends on: 240276
Reporter | ||
Comment 5•20 years ago
|
||
Related to bug #235558.
Comment 6•19 years ago
|
||
Testcase fails for me with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050422 Firefox/1.0+ Testcase works for me with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050428 Firefox/1.0+ Resolved Fixed by bug 240276?
yes
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•