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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 1 Mar 2016 10:47:38 -0800
Message-ID: <CAAWBYDDaVraayGQ1bcL5DNZYTqwK1rWE_6TQEOx=_-niU-5CBQ@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
On Mon, Feb 29, 2016 at 9:35 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> 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.

I'm extremely confused about what you're trying to say here.  Can you
provide some concrete example code illustrating what you're trying to
talk about?

> 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.

Where are the grid lines in the gap?  This is not a well-defined concept.

Even if we did define something like that, it would be very ugly and
wouldn't match any use-case I've ever seen illustrated for this kind
of thing.

~TJ
Received on Tuesday, 1 March 2016 18:48:26 UTC

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