[CSS3box]Width depending on nonreplaced content

I was just thinking that it would be nice to have a way to specify a 
width that takes the content in consideration instead of only the block 
itself or it's containing block. This could be made by adding something 
like these width properties (sketchy, needs renaming):
(Wrapping as I use it here means not inline elements, but floats that 
are forced down from their line.)

content-wrap: The minimum width required to contain the contents of the 
box without overflow, given the other limits as specified by other 
properties are still heeded. (Fixes the problems with floats not able to 
size according to contents in CSS2.)

content-min-wrap: The minimum width the content needs to avoid any 
wrapping that can be avoided, given the other limits as specified by 
other properties are still heeded. This may mean overflowing the 
containing block.

content-med-wrap: The mid point of the above specified values.

content-no-wrap: The content width that is necessary to not force floats 
  down.

Received on Tuesday, 2 December 2003 11:25:24 UTC