Re: [css-exclusions] interacting with floats

On 1/30/14, 9:16 PM, "Brad Kemper" <brad.kemper@gmail.com> wrote:

>I was reading up on the floats section of CSS 2.1 [1], in order to
>understand better how they interact with Exclusions. The exclusions
>Editors Draft says this:#Exclusions have an effect on the positioning of
>floats as they have an effect on inline content. Therefore, in Step
> 2-B 
><http://dev.w3.org/csswg/css-exclusions/#step-2-B-layout-containing-block-

>applying-wrapping>, floats will avoid exclusion areas
><http://dev.w3.org/csswg/css-exclusions/#exclusion-area>. [2]
>OK, so floats will not overlap the exclusions in their ancestor's
>exclusion context (I think I said that right).
>
>
>But where do the floats end up? The floats section of 2.1 says this:
>
>
>#A float is a box that is shifted to the left or right __on the current
>line__. [so that's good] ...A floated box is shifted to the left
> or right until its outer edge touches the containing block edge or the
>outer edge of another float.
>
>
>Do we need to say somewhere that an exclusion edge also stops a float
>from shifting farther to the left or right? Or does it? If the exclusion
>has 'wrap-flow: both', with enough room on either side
> for the float, does a 'float:right' float stop shifting over once it
>touches the exclusion (and the end of that segment of line box), or does
>it move to the other side to be as far right as possible within its
>containing block?

It will move to the other side to be as far right as possible. We may need
to add some text noting this in the section you pointed out [2].

Thanks,

Alan

>
>
>
>1) http://www.w3.org/TR/CSS2/visuren.html#floats

>
>2) http://dev.w3.org/csswg/css-exclusions/#effect-of-exclusions-on-floats

Received on Friday, 31 January 2014 23:16:38 UTC