W3C home > Mailing lists > Public > www-style@w3.org > July 2014

Re: [css-grid] Span & faulty line names

From: François REMY <francois.remy.dev@outlook.com>
Date: Fri, 4 Jul 2014 11:32:12 +0200
Message-ID: <DUB130-DS21F138074F7DBD094C9576A5000@phx.gbl>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: "CSS WG" <www-style@w3.org>
> You forget that this isn't true in all cases. Because of the "last if not
> enough lines" rule, you may already end up with less than 3 cells covered
> (the intention is to stay in the explicit grid, and removing the name
> constraints does allow to break that assumption).

I was off a few days, but I would still like to reformulate another proposal 
here now I understand your reasoning better.

What if instead we specified that "span 3 invalid-name" spans to :
- the minimum of
-- a span of 3 lines (with no name constraint)
-- the last line of the explicit grid

With this algorithm, we try to preserve as much as possible the two 
assumptions of this kind of span:
-- at least three lines will be spanned
-- the span will not cross the explicit grid boundaries

While this is open for debate, I would propose to apply this rule in two 
cases:
- no line is named "invalid-name" at all.
- no line is named "invalid-name" after the line from which the span is 
computed.
(currently, the second one reverts to a span of 1 after error correction)

Thoughts? 
Received on Friday, 4 July 2014 09:32:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:23 UTC