RE: [css3-gcpm][css3-box] float

I don't think there is really a contradiction.

"regular" (CSS2.1) floats only have left/right. "top" and "bottom" are currently ignored.

In CSS3 box model, "regular" floats can be found in vertical text, where physical left/right floats don't have any meaning. Then synonyms left=top and right=bottom just work (the synonyms could be defined to depend on writing mode, but that is a different question).

In GCPM, behavior "page floats" are very different altogether from "regular floats", so synonyms like left=top shouldn't apply. "top" page float is geographically "top" in all writing modes.

It would be reasonable to add a clarification in one or both of the specs. I believe it would belong to GCPM (assuming it becomes a recommendation after CSS3 Box).

-----Original Message-----
From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf Of MURAKAMI Shinyu
Sent: Monday, September 29, 2008 1:39 PM
To: www-style@w3.org
Subject: [css3-gcpm][css3-box] float


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 21:29:01 UTC