Re: [css-grid] Reduced Subgrid Proposal

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.

BR

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