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

> 
> So with some prompting from Rachel Andrews I finally did that today. :)

very happy to see this.

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

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

I prefer grid-gap to track-gap (as suggested in other comments) based on the current spec as the properties control the entire grid. There were earlier discussions - and I believe why this was originally punted to level 2 - around wether authors would want to be able to specify gutters of differing widths. I’ve not really come up with a good use case for that, but if that were ever a possibility then track-gap might make more sense as we’d need to specify some sort of pattern for tracks as opposed to one column/row gap to rule them all.

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


yes, I think so too.

-- 

Rachel Andrew

http://www.rachelandrew.co.uk
http://twitter.com/rachelandrew

Received on Wednesday, 17 June 2015 04:37:09 UTC