W3C home > Mailing lists > Public > www-style@w3.org > November 2015

Re: [css-logical-properties] the 'inline-{start,end}' values for 'float' and 'clear'

From: Johannes Wilm <johannes@fiduswriter.org>
Date: Fri, 6 Nov 2015 17:26:50 +0100
Message-ID: <CABkgm-RvgkDJVXy2NwMvApZB-quq4n0M+6++q+N0RLQLOUVcVQ@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: www-style list <www-style@w3.org>, Koji Ishii <kojiishi@gmail.com>, fantasai <fantasai.lists@inkedblade.net>, Rossen Atanassov <ratan@microsoft.com>, Jonathan Kew <jfkthame@gmail.com>, Florian Rivoal <florian@rivoal.net>, "Elika J. Etemad" <fantasai@inkedblade.net>, "Tab Atkins Jr." <jackalmage@gmail.com>
Ok, maybe I misunderstood. So "float: none top" will behave the same as
"float: left top"? And "float: none bottom" will behave the same as "float:
right bottom"?

If they are the same, then why do we have the "none" at all?
On 6 Nov 2015 4:58 pm, "Brad Kemper" <brad.kemper@gmail.com> wrote:

>
>
> On Nov 6, 2015, at 2:54 AM, Johannes Wilm <johannes@fiduswriter.org>
> wrote:
>
>
>
>
>> -- 'float: bottom' = 'float: none bottom ' (no left or right mentioned,
>> so no left or right floating).
>>
>> -- 'float: left' = 'float: left none' (no top or bottom mentioned, so no
>> top or bottom floating, matches existing).
>>
>> -- 'float: right' = 'float: right none' (no top or bottom mentioned, so
>> no top or bottom floating, matches existing).
>>
>>
>
> I think page floats will have to behave quite differently than inline
> floats here.
>
>
> Of course. I am proposing something quite different.
>
> If one floats to the top, one expects the float to cover the entire top,
>
>
> I don't think many people would expect floating a picture would ever cause
> it to stretch.
>
> not to land at some arbiotrary place in the inline direction. Same if one
> wants to float to the right or left of a column/page/region.
>
>
> It is not arbitrary. Please read what I proposed. It is basically this:
> float:top moves it to the beginning of the first line box, and let's it
> become a block (floating already turns inlines into blocks). That's it.
>
> The rest is existing effect of combining it with existing inline floating. float:bottom
> is like float:top, except it moves it to the last line box instead of the
> first.
>
> That covers all the major use cases, and is not the straw man that you are
> attacking.
>
Received on Friday, 6 November 2015 16:27:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:58 UTC