- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 28 May 2011 00:24:22 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images In directory hutz:/tmp/cvs-serv24378 Modified Files: Overview.src.html Log Message: Added back the accidentally-removed text about 'object-fit:cover' and 'contain' changing the size of the replaced element itself. Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.src.html,v retrieving revision 1.111 retrieving revision 1.112 diff -u -d -r1.111 -r1.112 --- Overview.src.html 26 May 2011 21:33:57 -0000 1.111 +++ Overview.src.html 28 May 2011 00:24:20 -0000 1.112 @@ -1150,6 +1150,13 @@ <dt>contain</dt> <dd> + <p>Determine the used ‘height’ and ‘width’ of the element as usual, + except if both ‘height’ and ‘width’ are ‘auto’, and the used value of at + least one of ‘max-width’ and ‘max-height’ is not ‘none’, then compute + the element's used width and used height as though the intrinsic + dimensions of the contents were infinitely large numbers whose ratio + is the actual intrinsic ratio of the contents.</p> + <p>Set the content's size to the largest width and height that has the same aspect ratio as the content's intrinsic aspect ratio, and additionally has neither width nor height larger than the replaced element's used @@ -1158,6 +1165,13 @@ <dt>cover</dt> <dd> + <p>Determine the used ‘height’ and ‘width’ of the element as usual, + except if both ‘height’ and ‘width’ are ‘auto’, and the used value of at + least one of ‘min-width’ and ‘min-height’ is not ‘none’, then compute + the element's used width and used height as though the intrinsic + dimensions of the contents were infinitely small numbers whose ratio + is the actual intrinsic ratio of the contents.</p> + <p>Set the content's size to the smallest width and height that has the same aspect ratio as the content's intrinsic aspect ratio, and additionally has neither width nor height smaller than the replaced
Received on Saturday, 28 May 2011 00:24:24 UTC