Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
spec:css-grid-2 [2014/12/09 15:48] – external edit 127.0.0.1spec:css-grid-2 [2015/07/16 15:51] (current) – add two features tabatkins
Line 1: Line 1:
 ====== Grid Layout Level 2 Ideas ====== ====== Grid Layout Level 2 Ideas ======
  
-===== Gutters =====+===== Collapsing Tracks =====
  
-We should have some way of defining "gutter" columns/rows, +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:
-where content can never go +
-(unless it's spanning across two tracks)+
-Otherwiseauto-flow is completely broken when you manually add gutters, +
-and it's just much less convenient to add them manually.+
  
-[[http://lists.w3.org/Archives/Public/www-style/2013May/0057.html|Lea's email on the subject.]] +> Specifying ''visibilitycollapse'' 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 ''visibilityhidden'', except that if all the <a>grid items</a> spanning a track are <a>collapsed</a>, the track'[intrinsic]? size becomes zero.
-See [[http://lists.w3.org/Archives/Public/www-style/2013May/0077.html|our proposal]] +
-and [[http://lists.w3.org/Archives/Public/www-style/2012Mar/0611.html|Tab'email on the subject]].+
  
-===== Collapsing Tracks =====+===== Auto-place while aligning to a named line =====
  
-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:+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 =====
  
->Specifying ''visibilitycollapse'' 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.+You can write a placement like ''grid-row1 / -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 emptywhether 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