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

Re: [css-grid] Reduced Subgrid Proposal

From: Sergio Villar Senin <svillar@igalia.com>
Date: Mon, 18 Apr 2016 10:19:28 +0200
To: www-style@w3.org
Message-ID: <57149890.1040708@igalia.com>
On 15/04/16 20:14, fantasai wrote:
> On 04/15/2016 10:12 AM, fantasai wrote:
>> On 04/15/2016 06:05 AM, Sergio Villar Senin wrote:
>>> First of all I'm quite happy to see this reduced proposal
>>> On 15/04/16 00:35, fantasai wrote:
>>>> C. If one of the subgrid's grid items is placed in the
>>>>     subgrid's first/last track, it is treated as if it
>>>>     had additional margin on that edge equal to the
>>>>     subgrid's margin+border+padding on that edge.
>>> As mentioned in our report[1] that might become more complicated if we
>>> nest subgrids, as any item in the subgrid could be potentially subject
>>> those those kind of adjustments (not only the ones on the edges).
>> Right, so when querying the item for its outer size contribution,
>> you need to stack up the "extra margin" effect as you walk up the
>> grid tree.
>> I don't think this should be particularly hard so long as you have
>> some way of querying where in its parent a particular item is,
>> placement-wise?
> Basically you need to do something like

Yeah we know how to do it :). It was not a complain, I was just
clarifying the text just in case it was a literal version meant to be
directly dumped to the specs.

Received on Monday, 18 April 2016 08:20:24 UTC

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