On Apr 2, 2011, at 4:44 AM, Brendan Miller wrote:

> http://www.w3.org/TR/CSS21/visuren.html#block-formatting
> ...

> Why do "block boxes with 'overflow' other than 'visible'" not create a
> block formatting context? Do div's, which seem to default to overflow:
> visible, not create a block formatting context?

The text you quote can be rephrased slightly: by default, block boxes (div,...) 
do _not_ establish a block formatting context, except when
* the value for the overflow property is 'hidden', 'scroll' or 'auto' (default 
value is 'visible')
* the display value is set to 'inline-block' or 'table-cell', 'table-caption'.
* the box is floated or positioned (absolute or fixed).

> I'm also confused by what "except when the value has been propagated
> to the viewport" means. By, "the value" do they mean the value of
> overflow? I'm not sure what propagating to the viewport means in this
> context.

This refers to the overflow property as applied to 'body'. The viewport is 
defined by the boundaries of the (browser) window that holds the page.

> Can someone give an example of a block in a block formatting context
> establishing a new block and being made more narrow by a float? I'm
> having a hard time figuring out exactly what they mean by that.

Basic example:
http://dev.l-c-n.com/_temp/c-block.html

an old series of test cases:
http://dev.l-c-n.com/IEW/simulations.php

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/






______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to