W3C home > Mailing lists > Public > www-style@w3.org > August 2011

[css3-flexbox] minor box model comments

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 15 Aug 2011 07:56:29 -0700
Message-ID: <4E49339D.9010705@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
2. New values for ‘display’ property

   # Flexbox establishes a new block formatting context for its content.

   A flexbox doesn't actually establish a new block formatting context,
   since a block formatting context contains... block-formatted contents.
   Flexbox items establish new block formatting contexts for their children.
   But I understand what you're trying to do here, not sure how to describe
   it, maybe

   | A flexbox establishes a new flexbox formatting context, and thus behaves
   | outwardly like a block formatting context root (flow root).

3. Flexbox Items

   # Flexbox layout algorithm operates on flexbox items.
   # Flexbox items are:
   #
   #    Immediate block-level children of flexbox
   #    Atomic inline-level children of flexbox
   #    Contiguous run of non-replaced inline children, wrapped into an
   #    anonymous block

   So, once an element becomes a flexbox item, it is neither block-level
   nor inline-level. It is flexbox-level. So maybe write this like

   | The flexbox layout algorithm operates on flexbox items, which are
   | boxes that participate in a flexbox formatting context. Flexbox
   | items are created from: [insert list here]

~fantasai
Received on Monday, 15 August 2011 15:51:24 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:43 GMT