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

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

>
> On Jan 26, 2016, at 7:52 AM, Johannes Wilm <johanneswilm@gmail.com> wrote:
>
>
>
> 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.
>
>
> It isn't really analogous to inline 'clear' as much then, and should maybe
> have a different name. Inline clear causes all subsequent content to move
> to the next line. I would expect the page float 'clear' to causes
> all subsequent content to move to the next page/fragmentainer.
>

Again, I think we are talking at cross purposes here.

Take this example where the spans have display: inline-block; and float set:

<p>This is where the sentence<span class="red left"></span><span
class="blue left clear-left"></span><span class="green left"></span>
starts.</p>


The text node " starts." (subsequent content) is still in the first line
 and is not moved down with the second and third float, so the full line
reads "This is where the sentence starts.", correct?


-- 
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 16:52:22 UTC