W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2017

[csswg-drafts] [css-sizing] Define width:contain

From: Jet Villegas via GitHub <sysbot+gh@w3.org>
Date: Sat, 14 Jan 2017 02:03:00 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-200772655-1484359378-sysbot+gh@w3.org>
jetvillegas has just created a new issue for 

==  [css-sizing] Define width:contain ==
During the 2017-01-13 F2F discussion on CSS Grid issue 
[523](https://github.com/w3c/csswg-drafts/issues/523) it was proposed 
that the width property accept a new value 'contain' to enable 
aspect-ratio-preserving stretching for elements (primarily images) 
placed in Grid items.

 A proposal (that needs further review) is for the contain-size be the
 union of:
 min{containing-block-width, max-width}
 min{containing-block-height, max-height}

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/934 using your GitHub 
Received on Saturday, 14 January 2017 02:03:07 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:07 UTC