Re: Proposal: content-size property

Andrew Fedoniouk wrote:
> 
> Michael A. Puls II wrote:
>> Problem: Make an iframe or object's height expand to the height of its 
>> content
>>
>>   
> .....
> 
> David Baron proposed once to use 'max-intrinsic' and '[min-]intrinsic' 
> values for length units.
> 
> frame
> {
>   overflow: hidden;
>   min-width: min-intrinsic; /* so will never overflow in x direction  */
>   height: intrinsic; /* and neither do in vertical */
> }
> 
> p
> {
>   width: max-intrinsic; /* will never wrap */
> }

The WG accepted to use those keywords in the next Box Module draft.

http://www.w3.org/blog/CSS/2007/11/14/resolutions_3

I don't think we discussed behavior for replaced elements such as <iframe>s
though.

~fantasai

Received on Thursday, 17 July 2008 00:05:38 UTC