[css3-grid-align] new editor draft available

To address the feedback offered on the www-style and the last face-to-face meeting, we've created an updated draft of the Grid Alignment module.



http://dev.w3.org/csswg/css3-grid-align



All changes below are additive to the original draft of the Grid Alignment proposal.  All prior syntax and examples are still supported, but are now complemented by the following features:



*         Grid lines can be used to size and position items

o   Grid-row and grid-column properties have been updated to accept a starting and optional ending line

o   The values supplied to grid-row and column can be numbers which refer to the line, or can be string values which refer to a line named by the author

*         Concepts from the Template Layout Module have been merged with the Grid Alignment concepts introduced in our original draft.

o   A grid-template property has been added which supports the "ascii-art" definition of rows, columns and cells

o   A grid-cell pseudo-selector has been added which is similar in concept to the slot pseudo-selector defined by the Template Layout Module

o   A grid-cell property has also been added which allows multiple children of the grid element to be placed into the same cell

*         Grid items can be placed into the grid automatically, rows-first or columns-first

*         For convenience we also added a repeat syntax for simplifying the definition of repetitive row and column definitions



New changes and additions have varying degree of stability - some are well thought through and some are very fresh. We'd like to discuss these changes, get more feedback and look at what needs to be done to make progress on standards track.



Looking forward to presentation and discussion.

Grid team

Received on Tuesday, 8 March 2011 08:13:05 UTC