Re: [css-grid] row-gap/column-gap issues

On 17/06/15 02:00, fantasai wrote:
> On 06/16/2015 06:10 PM, Manuel Rego Casasnovas wrote:
>>
>> Anyway, I think the spec needs an extra modification in the grid sizing
>> algorithm. I guess that the gutters should be subtracted when we
>> calculate the size of the flexible tracks.
>> For example, if you've a grid with "width: 500px; column-gap: 100px;
>> grid-template-columns: 1fr 1fr;", I guess that the columns should have
>> "200px" width.
> 
> I just wrote that the gaps are treated as fixed-size tracks for the purpose
> of track sizing. Is that not enough?

Yeah, didn't realize about that sentence. That should work fine.
Maybe it'd be nice to add a note on the algorithm itself to avoid any
oblivion there.

Bye,
  Rego

Received on Wednesday, 17 June 2015 13:47:03 UTC