Re: [csswg-drafts] [css-grid] Implicit named grid areas don't work properly with indexes

>  However, the implicit areas don't appear in grid-template-areas, however I don't think there is anything that covers this situation, which is an interesting one.

Right, multiple lines with the same name are explicitly allowed. And grid template areas don't actually exist, they're just a collection of lines with the name of the area and the -start/-end suffixes, so this is a perfectly valid way of creating multiple areas with the same name. We just can't target anything other than the first area without targeting the lines specifically.

Basically I'm asserting here that similarly to using a combination of a named line and an index to target the nth line with a given name, we should be able to target an area with an index as well.

> It might relate to another thing people ask for which is to be able to place a thing into every n track etc, perhaps auto-placing into every area named icon would be possible (essentially skipping the 1fr tracks.

See https://github.com/w3c/csswg-drafts/issues/3243

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

Received on Wednesday, 24 October 2018 06:36:34 UTC