This is an old revision of the document!


Grid Layout Level 2 Ideas

Gutters

We should have some way of defining “gutter” columns/rows, where content can never go (unless it's spanning across two tracks). Otherwise, auto-flow is completely broken when you manually add gutters, and it's just much less convenient to add them manually.

Lea's email on the subject. See our proposal and Tab's email on the subject.

Collapsing Tracks

We want the ability to collapse grid tracks (similar to collapsing flex items or table rows/columns), but we're not sure exactly how to do it. One attempt:

Specifying visibility: collapse on a <a>grid item</a> causes it to become a <dfn export title=“collapsed grid item|collapsed”>collapsed grid item</dfn>. This has the same effect as visibility: hidden, except that if all the <a>grid items</a> spanning a track are <a>collapsed</a>, the track's [intrinsic]? size becomes zero.
 
spec/css-grid-2.1418168935.txt.gz · Last modified: 2015/07/16 15:43 (external edit)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki