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) > > zw > > Flex units cannot be used in the calc() by its definition: "The expression within the parethesis is computed at the same time as 'em' lengths are computed"[1]. Flex computation happens after calc() is evaluated. [1] http://www.w3.org/TR/css3-values/#calc (BTW: "parethesis" here are "parenthesis") -- Andrew Fedoniouk. http://terrainformatica.comReceived on Sunday, 12 April 2009 23:18:20 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:46:58 GMT