W3C home > Mailing lists > Public > www-style@w3.org > February 2012

Re: [css3-grid-layout] [css3-layout] default layout of children

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 23 Feb 2012 14:05:15 -0800
Message-ID: <CAAWBYDCcSfHAjEmSBGJ29whjJ30XZ7pzgcRuzc6NeLv9PJx9tQ@mail.gmail.com>
To: Phil Cupp <pcupp@microsoft.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On Mon, Feb 20, 2012 at 10:58 AM, Phil Cupp <pcupp@microsoft.com> wrote:
> Stacking elements on top of each other shouldn't be considered data loss.  By that definition abspos elements all cause data loss.  Grid layout and positioning are similar in that that both allow for precise positioning of content.  The difference is the position on the grid is determined by referencing grid lines instead of defining a distance from the origin.

Abspos *does* cause data loss if you try and use it for layout without
some well-written JS.  That's why abspos sucks.  Grid is a lot better
because it lets elements affect each other's alignment, respond to
available space, etc.  Don't try and use abspos behavior as a defense
for Grid behavior.  ^_^

~TJ
Received on Thursday, 23 February 2012 22:06:02 GMT

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