W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: [css3-flexbox] "definite" sizes?

From: Daniel Holbert <dholbert@mozilla.com>
Date: Sun, 11 Mar 2012 18:48:59 -0700
Message-ID: <4F5D560B.1060302@mozilla.com>
To: Alex Mogilevsky <alexmog@microsoft.com>
CC: www-style <www-style@w3.org>, "Tab Atkins Jr." <jackalmage@gmail.com>
On 03/11/2012 05:29 PM, Alex Mogilevsky wrote:
> The word came from Tab's text, not sure it is defined elsewhere, but I am using it too for consistency. Here is my understanding of what it is:
>
> "definite" is something that is set to a specific size (such as pixels) or is determined by layout outside of flexbox (such a percent size or auto, where parent layout has specific rules for handling auto).
>
> For example, if a flexbox item in a horizontal flexbox has "height:auto;" and flexbox has "height:100px; flex-align:stretch;", the child's height is "definite" and resolves to parent height minus child's margins, border and padding. If the child is in turn a vertical flexbox, its height is its main size, and it is "definite".
>
> How would this sound as a definition:
>
> <ins>
> Some lengths that are inputs to this algorithm may have values that are specified exactly or are resolved prior to application of this algorithm. Such lengths are referred to as <def>Definite</def>.
> </ins>

Hmm... So then, what lengths are _not_ definite?  Just "auto", or is there 
anything else?

~Daniel
Received on Monday, 12 March 2012 01:49:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:51 GMT