Re: [css3-text] Balance Text proposal: shrinking containers

On Thu, Jan 31, 2013 at 12:47 AM, Peter Moulder
<peter.moulder@monash.edu> wrote:
> If one were to propose a feature that allowed blocks to shrink to fit the
> actual line widths, then:
>
> It occurs to me that this can introduce a circular dependency in width
> calculations between parent and children (via width of containing block).
> However, circularities don't occur much in the main use cases given so far,
> so I think it's fine to continue CSS 2.1's approach to width circularities
> if such a feature were introduced:
>
>   # If the containing block's width depends on this element's width, then
>   # the resulting layout is undefined in CSS 2.1.

That line in CSS 2.1 isn't actually acceptable, and we've had to work
around it in later specs.  You can't just have undefined behavior in
core layout stuff.

~TJ

Received on Thursday, 31 January 2013 18:30:19 UTC