- From: Manuel Rego Casasnovas <rego@igalia.com>
- Date: Wed, 17 Jun 2015 00:10:26 +0200
- To: www-style@w3.org
On 16/06/15 09:16, Sergio Villar Senin wrote:
> On 16/06/15 03:44, fantasai wrote:
>
>> So with some prompting from Rachel Andrews I finally did that today. :)
Great to see this on the spec.
>> Except, as per usual, I ran into some issues.
>>
>> http://dev.w3.org/csswg/css-grid-1/#gutters
>>
>> Issue 1: Should 'normal' (the initial value of 'row-gap') compute to '0'?
>>
>> I say yes, since this would be simpler for authors. Other opinions
>> welcome.
>
> I find it sensible indeed.
>
>> Issue 2: Should we have a shorthand? What should it be called?
>> ('border-spacing' is unavailable because it inherits)
>>
>> Please go ahead and bikeshed this one...
>
> track-gap ?
Maybe tracks-gap ?
>> Issue 3: Should the 'grid' shorthand reset the gap properties?
>>
>> I say yes, because we want shorthands to give a "blank slate" for
>> related
>> properties, and resetting the grid should probably also reset the
>> gutters.
>
> I also do agree with reseting.
I agree with you too in 1) and 3).
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.
Bye,
Rego
Received on Tuesday, 16 June 2015 22:11:06 UTC