Closed
Bug 10497
Opened 25 years ago
Closed 25 years ago
{feature} min/max-width and max-height not working for replaced elements
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
FIXED
M15
People
(Reporter: dbaron, Assigned: buster)
References
()
Details
Unless I'm missing something, min-width, max-width, and max-height don't seem to
be working for replaced elements (at least when display is block, I think inline
too). See the above test page, where the sizes of the images should be as
described.
Reporter | ||
Comment 1•25 years ago
|
||
The results for positioned elements are slightly different, and I'm not
completely sure what's happening, but it's wrong...(unless the test page is
wrong).
Reporter | ||
Comment 2•25 years ago
|
||
Test case for heights (not as carefully checked as the one for widths):
http://www.fas.harvard.edu/~dbaron/css/test/sec1007b
That's a problem with the block code. You need to apply the min/max values
_after_ reflowing the block element if it's replaced
Summary: min/max-width and max-height not working for replaced elements → {feature} min/max-width and max-height not working for replaced elements
Target Milestone: M14 → M17
Updated•25 years ago
|
QA Contact: petersen → chrisd
So which test case doesn't work? Can you attach a simpler one that demonstrates
the precise bug? My testing didn't show a problem otherwise I wouldn't ask.
Reporter | ||
Comment 6•25 years ago
|
||
In the URL in the URL field,
http://www.fas.harvard.edu/~dbaron/css/test/sec1004b , almost all of the tests
with images fail.
Reporter | ||
Comment 8•25 years ago
|
||
If I number the images (and only images!), then the following are NOT failing:
4, 10 (out of 24).
But 16, 21, and 22 are failing differently, by clipping instead of resizing.
They're among the absolute positioning ones.
Comment 10•25 years ago
|
||
Fixed. Image elements now properly support min/max width/height.
There are probably other elements that don't support them (e.g. form elements).
If this is the case, please assign the bug to the correct owner (not me!).
Thanks.
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 11•25 years ago
|
||
Verified fixed Linux apprunner 1999-11-12-15-M12. Remaining issues in bug 18477.
You need to log in
before you can comment on or make changes to this bug.
Description
•