Re: [css3-flex] calc(flex) and concept of free space.

On May 30, 2010, at 10:06 AM, Andrew Fedoniouk wrote:

> So you are saying that this expression: 
> width: calc(100px + 1px/100% * 1fx)
> 
> may or may not participate in free space
> calculations. 
> If  1px/100% is close to zero the expression will be calculated to "fixed 100px" and to be extracted from available free space. In all other cases it calculates to zero (for the need of free space calculation)
> 
> This means that layout calculation is using unstable algorithm by design - mathematically speaking it has singular points on some widths. 
> This will not fly, sorry.

Your example is very contrived and extremely unlikely to occur for any reason OTHER than to demonstrate precision differences between UAs. THat is not reason enough to throw the baby out with the bathwater. In normal use, you would never just one, near-zero flex measurement in a flexbox.

Received on Sunday, 30 May 2010 17:40:00 UTC