W3C home > Mailing lists > Public > www-style@w3.org > April 2016

Re: [css-flexbox] rationale for definite size conditions

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 4 Apr 2016 17:44:01 -0400
To: Daniel Holbert <dholbert@mozilla.com>, Christian Biesinger <cbiesinger@google.com>, www-style list <www-style@w3.org>
Message-ID: <5702E021.7080903@inkedblade.net>
On 04/04/2016 05:23 PM, Daniel Holbert wrote:
> On 04/04/2016 01:57 PM, fantasai wrote:
>> (Fwiw, we did clarify that if an item with a definite flex basis
>> is inflexible, it is considered definite. [1])
>> [1] https://hg.csswg.org/drafts/rev/fbcbe170c119
> Two concerns about this -- so, the new language here is:
>    # Note: An inflexible item with a definite flex basis
>    # is, by definition, definite.
> CONCERN #1: "definite" is a term that applies to lengths, not to items.
> So, the "item ... is ... definite" language doesn't make any sense here.
>   This really wants to say that the item's main size is definite, I think?

Yes, good point. Fixed.

> CONCERN #2: This Note might need to be promoted to an actual listed case
> here (alongside the other flex-specific special cases for "definite").
> I don't think it's covered by any of the other cases, nor is it covered
> by the CSS3-SIZING definition of "definite". (please correct me if I'm
> missing the language that covers it, though).

The definition in CSS Sizing *does* cover it:

   # A size that can be determined without measuring content;
   # that is, a <length>, a size of the initial containing block,
   # or a <percentage> or other formula (such the “fill-available”
   # sizing of non-replaced blocks [CSS21]) that is resolved solely
   # against definite sizes.

If the flex basis is definite, and the item is inflexible, then
the item's flexed flexed size is also definite.

Received on Monday, 4 April 2016 21:44:31 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:58 UTC