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

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 UTC