Re: [csswg-drafts] [css-grid] What happens with grid line names when dropping tracks

On Wed, Jun 8, 2016 at 12:29 PM, Mats Palmgren 
<notifications@github.com> wrote:
>
> I'm not sure what you mean by "will become".
> I'm assuming that you're talking about the resolved value for these 
properties.
> https://drafts.csswg.org/css-grid/#resolved-track-list
>
> When there are zero tracks Firefox returns 'none' as the resolved 
value.
> Other than that edge case, we essentially merge the line names with 
the names on both sides of the dropped track and then remove any 
duplicates. So for the example you give, "[a] repeat(auto-fit,[b] 10px
 [c]) [d]", the resolved value is "[a b] 10px [c d]" when there is one
 item, the resolved value is "[a b] 10px [c b] 10px [c d]" when there 
are two items etc.
>
> I think this is the result you're suggesting, right?

This is what's intended, yes.

There isn't a good description of how to serialize resolved values,
but "none" is a correct serialization of "all the tracks got dropped".
Names are irrelevant at that point.  (*Technically* they can still
affect whether something gets positioned against the sole explicit
line or one of the implicit lines, but come on.)

~TJ


-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/172#issuecomment-224711364 
using your GitHub account

Received on Wednesday, 8 June 2016 20:06:29 UTC