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

Re: [css-flexbox] "applies to" inconsistency

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 11 May 2010 22:54:27 -0400
Message-ID: <4BEA1863.1010909@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: "www-style@w3.org list" <www-style@w3.org>
On 5/11/10 10:34 PM, Tab Atkins Jr. wrote:
> Aside from that, though, abspos elements should not participate in any
> way in the layout algorithm of their parent.

Sure they do.  Here's an example:

<div style="overflow: auto; position: relative;
             width: 100px; height: 100px">
   <div style="position: absolute; top: 200px; left: 0;
               border: 10px solid black"></div>
</div>

The abs pos div affects the layout of its parent in Gecko, Webkit, and 
Presto there.  And I'm fairly certain that current spec language 
requires it to.

-Boris
Received on Wednesday, 12 May 2010 02:55:07 GMT

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