W3C home > Mailing lists > Public > www-style@w3.org > October 2003

Re: [CSS21] block formatting context/floats

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 12 Oct 2003 13:47:45 +0000 (UTC)
To: "staffan.mahlen@comhem.se" <staffan.mahlen@comhem.se>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.58.0310121343410.29626@dhalsim.dreamhost.com>

On Wed, 1 Oct 2003, staffan.mahlen@comhem.se wrote:
> How do nested and adjacent block formatting contexts interact?

Depends on how they are formed. Floats, for instance, generate block
formatting contexts, and flow around each other as per section 9.5.

In general, formatting contexts grow to contain their in-flow floats, but
do not grow to contain out-of-flow content. However, for specific rules,
you have to refer to the spec. For example, 'overflow:scroll' generates a
new block formatting context that grows to contain any out-of-flow content
(assuming the 'overflow:scroll' box is the containing block of the
absolutely positioned block, or is a containing block ancestor of the
containing block of the absolutely positioned block.

Does that answer your question?

Ian Hickson                                      )\._.,--....,'``.    fL
U+1047E                                         /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 12 October 2003 09:50:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:09 UTC