- From: Jeremy Morton via GitHub <sysbot+gh@w3.org>
- Date: Tue, 13 Sep 2016 17:15:34 +0000
- To: public-css-archive@w3.org
jez9999 has just created a new issue for https://github.com/w3c/csswg-drafts: == [background-4] Add 'limit' to background-size == This is for css-backgrounds-4 (I can't seem to add labels). Link to spec section: https://drafts.csswg.org/css-backgrounds-4/ As evidenced by various threads like this one on StackOverflow: http://stackoverflow.com/questions/21407466/css-background-size-contain-without-the-image-to-scale-up Quite a few people (myself included) would like the functionality that **background-size:contain** provides, except that when the image is smaller than the container, it should _not_ scale up. Perhaps we could add **background-size:limit**? I know 'limit' is a pretty bad name for this behaviour, but frankly I think this behaviour is best described by the word 'contain' - what 'contain' currently does feels wrong. When the image is smaller than the container, it is not in fact containing it, but enlarging it. Still, if anyone can think of a better word than 'limit', feel free to suggest. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/468 using your GitHub account
Received on Tuesday, 13 September 2016 17:15:46 UTC