W3C home > Mailing lists > Public > www-style@w3.org > November 2014

Re: [css-grid] Absolutely positioned grid items

From: Manuel Rego Casasnovas <rego@igalia.com>
Date: Wed, 19 Nov 2014 15:03:06 +0100
Message-ID: <546CA31A.1060208@igalia.com>
To: www-style@w3.org
On 12/11/14 23:07, Tab Atkins Jr. wrote:
> No, we're just being sloppy with terminology in 8.4, and with the
> "Applies to" lines in the propdef tables. ("Applies to" is just an
> informative note, anyway.)
> 
> The grid-placement properties definitely apply to abspos elements
> whose containing block is a grid container, even if they're not
> children.  They alter the containing block to be the grid area
> described by the properties (with the alteration, described in 8.4,
> that an "auto" value *does* contribute a line, namely the
> corresponding padding edge of the grid container).
> 
> I'll fix to make this clearer.

Just an extra thing about this, probably the spec should include also
fixed positioned elements (not only absolutely positioned).

As in some cases (for example using "transform" property [1]) the grid
could be the containing block of the fixed elements. I guess that the
same behavior than absolutely positioned elements should be applied.

Bye,
  Rego

[1] http://dev.w3.org/csswg/css-transforms/#transform-property
Received on Wednesday, 19 November 2014 14:03:41 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC