W3C home > Mailing lists > Public > www-style@w3.org > January 2013

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 31 Jan 2013 10:29:28 -0800
Message-ID: <CAAWBYDDvJknme9P+qnag5NC0u97gLYw++mb-Stx6W9XquzBHfw@mail.gmail.com>
To: Peter Moulder <peter.moulder@monash.edu>, www-style list <www-style@w3.org>
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:25 UTC