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

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

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Wed, 12 May 2010 00:01:13 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>, "L. David Baron" <dbaron@dbaron.org>
CC: "www-style@w3.org list" <www-style@w3.org>
Message-ID: <5258A1A783764C478A36E2BC4A9C497E06B4E6@tk5ex14mbxc105.redmond.corp.microsoft.com>
From: Tab Atkins Jr. [mailto:jackalmage@gmail.com] 

> Absposing an element should take it out of the flow entirely, and not interact with its siblings or ancestors in any way.

Actually that is no true for absolute positioning in general. Unfortunately. If some of coordinates are not specified, coordinates of element's "static" position are used. But "static" position doesn't really exist, so it is an estimate of where it would be hypothetically if it weren't positioned. 

(if the above doesn't make sense, ask for an example)

For a flex item, the hypothetical static position is probably where it would have been if it had width/height of zero and flex of zero. Alignment may make it more complicated.
Received on Wednesday, 12 May 2010 00:01:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:46 UTC