W3C home > Mailing lists > Public > www-style@w3.org > May 2010

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

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sun, 30 May 2010 15:13:59 -0700
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, <www-style@w3.org>
Message-Id: <5A6FA301-F7E0-43E8-B9B0-F6E0B6F87FA4@gmail.com>
To: "Andrew Fedoniouk" <news@terrainformatica.com>

On May 30, 2010, at 11:40 AM, Andrew Fedoniouk wrote:

>> 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.
> There is no concept of "likely works" or "likely does not work" in CSS, sorry.
> Both of these two expressions:
> width: calc(100px + 0.0001fx)
> width: calc(100px + 0.01fx)
> *must* produce close or the same result.

So you say. But really all you are showing is that 0.01fx and, say, 10,000,000fx are al the same as 1fx, when only one property in the flexbox is being measures in flex units, and that different UAs have different levels of precision.
Received on Sunday, 30 May 2010 22:14:36 UTC

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