Re: [CSS3] Flexible Flow Module, proposal.

On Apr 12, 2009, at 5:58 PM, Zack Weinberg wrote:

> "Robert O'Callahan" <robert@ocallahan.org> wrote:
>> On Sun, Apr 12, 2009 at 5:14 AM, Tab Atkins Jr.
>> I think the biggest limitation is not
>> being able to set width to "intrinsic width plus flex". The
>> limitations can probably be fixed, although the fixes might add
>> complexity or ugliness.
>
> What about something like "width: calc(100px + 1fl)" or
> "width: calc(100% + 1fl)" ?  I'm not sure exactly what you
> mean by "intrinsic width plus flex"; I'm going by analogy with
> the fill[l[l]] units in TeX; but this seems natural enough.
>
> (very much -1 on "*" as unit specifier btw - let's not make the core
> lexical syntax any worse than it already is please)
>

Yeah, I think using calc here is an excellent idea.

dave
(hyatt@apple.com)

Received on Sunday, 12 April 2009 23:16:25 UTC