W3C home > Mailing lists > Public > www-style@w3.org > March 2016

Re: [css-grid] grid-gap and abspos

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 1 Mar 2016 00:35:24 -0500
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <56D52A1C.2000100@inkedblade.net>
On 02/29/2016 03:31 PM, Tab Atkins Jr. wrote:
> On Sun, Feb 28, 2016 at 1:43 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
>> Question: Should absolutely-positioned grid items pay attention to the grid
>> gap?
>> They ignore padding... wouldn't it make sense to also ignore grid-gap?
> What do you mean by "ignore grid-gap"?
> They don't "ignore padding" either - what do you mean by that?

Abspos is positioned against the padding edge: so the space between
the border-edge and the content usually provided padding is not there.

Ignoring grid-gap would mean pretending the grid-gap was zero --
positioning against the grid lines themselves, without the extra
padding provide by the grid gap.

Received on Tuesday, 1 March 2016 05:35:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:01 UTC