W3C home > Mailing lists > Public > www-style@w3.org > August 2012

Re: [media-queries] chicken-egg problem with font-based lengths

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Mon, 20 Aug 2012 14:17:01 +0200
Message-ID: <50322ABD.9090902@kozea.fr>
To: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
CC: www-style@w3.org
Le 20/08/2012 12:05, Giuseppe Bilotta a écrit :
> (Of course, all this would not
> be an issue if CSS had a way to specify that a container should wrap
> its content 'tightly'.)

Do you mean "width: fit-content" as defined in css3-sizing?
http://dev.w3.org/csswg/css3-sizing/#width-height-keywords

Until fit-content is supported well enough, you can get the same 
behavior with floats or inline-blocks. (But of course this comes 
attached with all the other behaviors of such boxes.)

-- 
Simon Sapin
Received on Monday, 20 August 2012 12:17:24 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:58 GMT