- From: Mats Palmgren <mats@mozilla.com>
- Date: Sun, 4 Oct 2015 19:41:30 +0200
- To: www-style list <www-style@w3.org>
https://drafts.csswg.org/css-grid/#grid-placement-errors "If the placement for a grid item contains two lines, and the start line is further end-ward than the end line, swap the two lines." The above doesn't say what to do when the start/end lines are equal. And I can't find any other spec text that handles this case. The Grid Placement Conflict Handling used to say: http://www.w3.org/TR/2015/WD-css-grid-1-20150317/#grid-placement-errors "If grid-row-end/grid-column-end specifies a line at or before that specified by grid-row-start/grid-column-start, it instead contributes nothing." Note that the "at or before" there includes equal start/end lines. I think 9.3.1 needs to deal with equal lines. For example by adding: "If the start and end lines are equal, replace the end line with either a span of 1, or for a subgrid grid item, a span the size of the subgrid's implicit grid." Thanks, Mats
Received on Sunday, 4 October 2015 17:42:01 UTC