W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2016

[csswg-drafts] [css-sizing] How to shrink to fit the width?

From: 一丝 via GitHub <sysbot+gh@w3.org>
Date: Wed, 15 Jun 2016 08:42:07 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-160368112-1465980126-sysbot+gh@w3.org>
yisibl has just created a new issue for 

== [css-sizing] How to shrink to fit the width? ==
In this demo: http://jsbin.com/weqapufoyi/edit?html,css,output


Because span float will automatically wrap, how to make the parent 
element shrink to the "Expectation" effect.

Can we add a new width/height value(e.g. `width: auto-shrink`), or 
already have other solutions?

spec: https://drafts.csswg.org/css-sizing/#width-height-keywords

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/191 using your GitHub 
Received on Wednesday, 15 June 2016 08:42:11 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:40:59 UTC