Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
spec:css3-box [2012/09/30 13:36] aprowsespec:css3-box [2012/10/08 03:09] aprowse
Line 161: Line 161:
 A flow root is roughly a box whose normal flow is rendered in a location that's out-of-sync with the normal flow content that surrounds the flow root's box in the box tree.  I'm not yet clear whether its even necessary to care about the concept of flow root.  The more obviously important concept is that of formatting context. A flow root is roughly a box whose normal flow is rendered in a location that's out-of-sync with the normal flow content that surrounds the flow root's box in the box tree.  I'm not yet clear whether its even necessary to care about the concept of flow root.  The more obviously important concept is that of formatting context.
  
-  * Regions, floats, abspos boxes and transform boxes are flow roots.+  * Regions, floats and abspos boxes are flow roots.
   * Neither column boxes, page boxes nor align boxes are inherently flow roots, but they do establish new formatting contexts.   * Neither column boxes, page boxes nor align boxes are inherently flow roots, but they do establish new formatting contexts.
   * (The "align box" type exists merely to artifically establish a new block formatting context.  Its name desperately needs changing.)   * (The "align box" type exists merely to artifically establish a new block formatting context.  Its name desperately needs changing.)
-  * Boxes whose used value of ‘overflow’ is not ‘visible’, table wrapper boxes, table cells, inline blocks and boxes whose directionality is orthogonal to their parent are //probably// not flow roots, but they do establish new formatting contexts.+  * Boxes whose used value of ‘overflow’ is not ‘visible’, table wrapper boxes, table cells, inline blocks, transform boxes and boxes whose directionality is orthogonal to their parent are //probably// not flow roots, but they do establish new formatting contexts.
   * A ‘child-align’ box is neither a flow root nor inherently establishes a new formatting context.   * A ‘child-align’ box is neither a flow root nor inherently establishes a new formatting context.
  
Line 171: Line 171:
  
 Recall that the scope of float behaviour and clearance behaviour is restricted to the block formatting context in which the float and clearing element participates. Recall that the scope of float behaviour and clearance behaviour is restricted to the block formatting context in which the float and clearing element participates.
 +
 +Interesting note: no flow root can ever establish an inline formatting context, because inline formatting contexts can only exist inside of another non-inline formatting context.  This is because inline formatting contexts may contain floats, and how those floats behave depends on the outer formatting context.  If the outer formatting context is a BFC then the float floats, though it's not clear where its box belongs in the box tree.  If the outer formatting context is something else (and no examples exist of this yet in CSS) then whether and how the float floats is up to that formatting context.
  
  
 
spec/css3-box.txt · Last modified: 2014/12/09 15:48 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki