W3C home > Mailing lists > Public > www-style@w3.org > May 2011

Re: proposed new module: css3 floats and positioning

From: Jacob Refstrup <jrefstrup@apple.com>
Date: Wed, 18 May 2011 19:21:24 -0700
Cc: Alex Mogilevsky <alexmog@microsoft.com>, W3C style mailing list <www-style@w3.org>, Chris Jones <cjon@microsoft.com>, Rossen Atanassov <Rossen.Atanassov@microsoft.com>
Message-id: <9E691BDE-9337-4241-95F9-C9BFE62E8903@apple.com>
To: Håkon Wium Lie <howcome@opera.com>
On May 18, 2011, at 4:53 PM, Håkon Wium Lie wrote:

> Also sprach Alex Mogilevsky:
> 
>> Large subset of use cases for page floats is covered by "position:page; wrap-type:around" in this proposal. 
> 
> It seems that these are equivalent:
> 
>  position: page;
>  wrap-type: around;
>  top: 0;
>  ~~~
>  float: top;
> 
> and
> 
>  position: page;
>  wrap-type: around;
>  bottom: 0;
>  ~~~
>  float: bottom;
> 
> Is that right?
> 

At first glance yes; but I don't think so:

- if you assume that page float model implies (like the normal float model) that floats don't overlap and 
- that wrap-type affects how text wraps (and otherwise doesn't move boxes around) 

Then the difference would be that in the float: page case it would not overlap with any other floats; whereas in the position: page case it could/would overlap with other positioned elements.

Kind regards,
- Jacob
Received on Thursday, 19 May 2011 02:21:53 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:40 GMT