W3C home > Mailing lists > Public > www-style@w3.org > October 2006

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

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 12 Oct 2006 20:52:00 -0700
To: www-style@w3.org
Message-ID: <20061013035200.GA24767@ridley.dbaron.org>
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.


[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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:26 UTC