Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
spec:css-grid-2 [2015/07/16 15:43]
tabatkins Remove gutters, as they're part of level 1 now
spec:css-grid-2 [2015/07/16 15:51] (current)
tabatkins add two features
Line 5: Line 5:
 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: 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.+> 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
 + 
 +===== Auto-place while aligning to a named line ===== 
 + 
 +You can auto-place to a *particular* row/column, but not to *the next* instance of a particular named row/​column. ​ We should allow this.  [[https://​lists.w3.org/​Archives/​Public/​www-style/​2015Jun/​0355.html|Discussion]] 
 + 
 +===== Place relative to the end of the implicit grid ===== 
 + 
 +You can write a placement like ''​grid-row:​ 1 / -1''​ to span the entire height of the explicit grid, but if rows are added to the implicit grid, it won't go to the end any more.  It might be useful to have the ability to span the *entire* grid. There'​s some complications with auto-placement if you don't actually span the entire thing (if you leave the last row empty, whether something can go in a cell can change as auto-placement happens) so we probably need to automatically reserve the entire row/column you're in when this happens.
 
spec/css-grid-2.txt · Last modified: 2015/07/16 15:51 by tabatkins
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki