[css3-page] 'fit' doesn't apply to images distorted by min/max-width/height

The 'fit' property defined in [1] doesn't apply to replaced elements
whose aspect ratio has been distorted by some combination of
'min-width', 'min-height', 'max-width', 'max-height' (potentially
combined with one of 'width' or 'height').

I don't see any reason for this limitation.  The 'fit' property
should apply to all replaced elements whose box's aspect ratio
differs from the intrinsic aspect ratio of the replaced content,
even if the computed values of one or both of 'width' or 'height'
are 'auto'.

The spec changes proposed in [2] fix this issue.

-David

[1] http://www.w3.org/TR/2006/WD-css3-page-20061010/#the-fit
[2] http://lists.w3.org/Archives/Public/www-style/2006Oct/0078

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Friday, 13 October 2006 03:52:08 UTC