W3C home > Mailing lists > Public > www-style@w3.org > January 2016

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

From: Brad Kemper <brad.kemper@gmail.com>
Date: Tue, 26 Jan 2016 07:40:13 -0800
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>, fantasai <fantasai.lists@inkedblade.net>
Message-Id: <F8BD28D5-4050-4264-BCB0-3E5876BA1EE8@gmail.com>
To: Johannes Wilm <johanneswilm@gmail.com>


> 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. 

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. 

Is this the same as break-before:always?
Received on Tuesday, 26 January 2016 15:40:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:35 UTC