We've had some feedback on gaps, the one prompting this discussion being that authors are finding it awkward that the grid shorthand resets the gaps, preferring that it does not and that it is treated similar to spacing controls such as grid container padding and grid item margins. (#1036)
Unwinding the threads of discussions and resolutions, and discussing with several people at the F2F here, we have the following proposal:
We've had some feedback on gaps, the one prompting this discussion being that authors are finding it awkward that the
gridshorthand resets the gaps, preferring that it does not and that it is treated similar to spacing controls such as grid container padding and grid item margins. (#1036)Unwinding the threads of discussions and resolutions, and discussing with several people at the F2F here, we have the following proposal:
grid-gapproperties from thegridshorthand, resolving [css-grid] Setting of gutter properties when using the 'grid' shorthand #1036column-gapandrow-gaptogrid-column-gapandgrid-row-gap.column-gapis shared with multi-col andnormalcomputes to zero except on multi-column elements.column-gapandrow-gapto flex containers, resolving a strong demand from flexbox users to have this spacing control. (See Rachel's message to www-style and [css-flexbox] Make it easier to define margins that only apply between flex-items #592 with special note of erikjung's comment)border-spacing(which inherits, which is weird) by having them defer toborder-spacingwhen specified asnormaland override it otherwise.