Re: [css-page-floats] The 'clear' values are backwards

On Tue, Jan 26, 2016 at 4:40 PM, Brad Kemper <brad.kemper@gmail.com> wrote:

>
>
> > On Jan 25, 2016, at 5:05 PM, Johannes Wilm <johanneswilm@gmail.com>
> wrote:
> >
> > After a small conversation offlist: We seem to really have been in
> agreement. We meant the same thing, we just used different words for it.
> >
> > So the conclusion is:
> >
> > If we have three floats rights after oneanother where the first float is
> placed on page one. And the second float has the clear property set so that
> it will be placed on page two (and not page one), then also float three
> (which doesn't have the clear property set) will be placed on page 2 (or
> later if there is not enough space on page 2). Float three will therefore
> not be placed on page one, even though there would be enough space for it
> there. We will make sure that the wording ensures that. This is also what
> inline floats do, so pagefloats are no exceptions.
>
> Wouldn't it be all subsequent content that would go to the next page?
> 'Clear: left' causes all subsequent content to clear the left float.
>

Not all subsequent content, but all subsequent top pagefloats (if one has
cleared for top), right? All the surrounding non-float content will
continue to be in that same line and not be moved further down when you
clear.

I think this is what we all meant right from the start, but we worded
ourselves in ways that made us think the other person wanted something else.


>
> Would 'clear: top' set on a non-float also cause it to move to the top of
> the next page? Clear:left can be set on any element, not just those with
> float:left.
>

We need to think this through. With non-floats, we don't know what the
float-reference is, so unless we come up with something we won't know
whether we are clearing the column/page/region.

Also, see Shinyu's comment regarding this topic:
https://lists.w3.org/Archives/Public/www-style/2016Jan/0190.html



> Is this the same as break-before:always?


I don't think it is. Only the float and all following floats are moving to
the next page/column, not the surrounding non-float content.


-- 
Johannes Wilm
http://www.johanneswilm.org
tel US: +1 (520) 399 8880
tel NO: +47 94109013
tel DE: +49 176 370 18082

Received on Tuesday, 26 January 2016 15:53:26 UTC