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

jetvillegas has just created a new issue for 
https://github.com/w3c/csswg-drafts:

==  [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 
account

Received on Saturday, 14 January 2017 02:03:07 UTC