- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 4 Nov 2015 16:40:36 -0800
- To: Mats Palmgren <mats@mozilla.com>
- Cc: www-style list <www-style@w3.org>
On Sun, Oct 4, 2015 at 10:41 AM, Mats Palmgren <mats@mozilla.com> wrote: > 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." Ah, thanks for the catch. Fixed to just drop the end line; placement will handle the rest. ~TJ
Received on Thursday, 5 November 2015 00:41:30 UTC