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: Brad Kemper <brad.kemper@gmail.com>
Date: Fri, 6 Nov 2015 07:58:34 -0800
Cc: Florian Rivoal <florian@rivoal.net>, "Tab Atkins Jr." <jackalmage@gmail.com>, Jonathan Kew <jfkthame@gmail.com>, fantasai <fantasai.lists@inkedblade.net>, Koji Ishii <kojiishi@gmail.com>, "www-style@w3.org" <www-style@w3.org>, Rossen Atanassov <ratan@microsoft.com>, "Elika J. Etemad" <fantasai@inkedblade.net>
Message-Id: <42063D62-EFC6-4213-B500-40154A36F912@gmail.com>
To: Johannes Wilm <johannes@fiduswriter.org>


> 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 15:59:06 UTC

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