W3C home > Mailing lists > Public > www-style@w3.org > September 2008

[css3-gcpm][css3-box] float

From: MURAKAMI Shinyu <murakami@antenna.co.jp>
Date: Tue, 30 Sep 2008 05:39:13 +0900
To: www-style@w3.org
Message-Id: <20080930041129.AF6C.C598BCD7@antenna.co.jp>

I found inconsistencies in the meaning of 'top' and 'bottom' values of
the 'float' property in css3-gcpm and css3-box.

In the recent css3-gcpm editors draft:
http://dev.w3.org/csswg/css3-gcpm/#page-floats

    top
        This keyword indicates that the element is floated to the top of
        the containg block. 

    bottom
        This keyword indicates that the element is floated to the bottom
        of the containg block. 

In the recent css3-box editors draft:
(unfortunately member-only)
http://www.w3.org/Style/Group/css3-src/css3-box/#the-float

    top
        Same as 'left'

    left
        If 'block-progression' is 'tb', the element generates a box that
        is floated to the left and content flows on the right side of
        the box (subject to the 'clear' property). If 'block-progression'
        has a different value, the element generates a box that is
        floated to the top and content flows on the bottom side of the
        box (subject to the 'clear' property). 

    bottom
        same as 'right'

    right
        Similar to 'left', except the box is floated to the right (if 
        'block-progression' is 'tb') or to the bottom (otherwise), and
        content flows on the left or top side of the box. 

In the css3-gcpm, the element with "float: top" is floated to the top of
the containing block and the element with "float: left" is floated to
the left regardless of the block-progression. But in the css3-box,
"float: top" is same as "float: left" and floated to the left or top
dependent on the block-progression.

I guess the definition of the css3-gcpm's float values overrides
css3-box's when the UA supports the page floats. Is this right?

-- 
Shinyu Murakami
http://www.antennahouse.com
http://www.antenna.co.jp/AHF/
Received on Monday, 29 September 2008 20:39:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:12 GMT