Re: [css3-gcpm] containing block for top/bottom floats

Håkon Wium Lie <howcome@opera.com> wrote on 2009/01/06 4:13:13
> BTW, should we change the name of the keyword from "multi-column" to
> "multicol"? Shorter, and easier to spell.

I'm ok with it.

> 
>  > But the description in the GCPM editor's draft seems still insufficient.
>  > 
>  >     top
>  >       This keyword indicates that the element is floated to the top of
>  >       the containing block. Unless 'top' is combined with 'page' or
>  >       'multi-column', the column box will act as containing block for
>  >       the purpose of 'float'. 
>  > 
>  > The "column box" here should be extended to something not only column
>  > box but also table cell, other float, absolute positioned box, etc.
> 
> Unless we consider all elements to have a "column box". But the
> multicol spec doens't say that, so I guess not.
> 
>  > So I wrote:
>  > | My proposal:
>  > | When the float property value has a vertical keyword (top, bottom) and
>  > | has no reference keyword (page, multi-column), the containing block is
>  > | formed by the content edge of the nearest box that is a column box or 
>  > | is a "flow root" defined in the CSS3 basic box model [3] or page area.
>  > | In vertical text, a horizontal keyword is vice versa.
>  > | 
>  > | [3] http://www.w3.org/TR/css3-box/#flow-root
> 
> "flow root" could be the right term to use. However, wouldn't it make
> more sense to change the definition of "flow root" to also include
> column boxes?

> So, the multi-column spec could add "column boxes" to the list.

I agree. That's nice.

-- 
Shinyu Murakami
http://www.antennahouse.com
Antenna House Formatter
http://www.antenna.co.jp/AHF/en/

Received on Tuesday, 6 January 2009 01:07:45 UTC