New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-grid] Auto-placement aligning to a named line #796

Open
rachelandrew opened this Issue Dec 7, 2016 · 3 comments

Comments

Projects
None yet
4 participants
@rachelandrew
Contributor

rachelandrew commented Dec 7, 2016

I have seen a couple of requests from authors to be able to auto-place to the next available row or column line with a certain name.

This came up in a Q&A that I am running, and there is also an earlier request for this behaviour detailed on the www-style list, and on the wiki for possible L2 features. Raising this issue just to capture these in one place.

@sunpietro

This comment has been minimized.

Show comment
Hide comment
@sunpietro

sunpietro Mar 6, 2018

is there any progress on this topic?

sunpietro commented Mar 6, 2018

is there any progress on this topic?

@fantasai

This comment has been minimized.

Show comment
Hide comment
@fantasai

fantasai Apr 30, 2018

Contributor

Proposal: use auto <custom-ident> to mean the same as auto except the line it resolves to has to be named <custom-ident>.

Contributor

fantasai commented Apr 30, 2018

Proposal: use auto <custom-ident> to mean the same as auto except the line it resolves to has to be named <custom-ident>.

@fantasai fantasai added the Agenda+ label Apr 30, 2018

@css-meeting-bot

This comment has been minimized.

Show comment
Hide comment
@css-meeting-bot

css-meeting-bot May 2, 2018

Member

The Working Group just discussed Auto-placement aligning to a named line, and agreed to the following resolutions:

  • RESOLVED: Add this proposal to grid L2
The full IRC log of that discussion <dael> Topic: Auto-placement aligning to a named line
<dael> github: https://github.com//issues/796
<dael> Rossen_: RachelAndrews raised this, but she's not on. fantasai can you summerize?
<dael> fantasai: There have been several requrests to do auto placement but filter out lines that don't match a name. Right now auto placement uses auto keypwrd. Add a custom ident for the name after the auto. So auto and the name would only do placement on lines with that name.
<dael> fantasai: This is level 2 of grid.
<dael> Rossen_: Seems reasonable. I'm trying to understand primary use case
<dael> fantasai: Example wanting to have narrow and wide columns, some items should go in narrow and some in the wide. You name the lines to make the distinction and then be able to filter out the ones that match what you're looking for.
<dael> Rossen_: Okay. What's behavrio if I list all named lines?
<dael> fantasai: Proposal is you only have one custom ident. A line can have many names so if it matches any name it matches. That's the same as looking for lines. If you wanted various behaviors you'd name the lines differently.
<dael> TabAtkins: Identical to if you spec a line name right now. It's just giving you auto placement with same behavior.
<dael> Rossen_: Sounds reasonable. What do others think?/
<dael> florian: I like it
<dael> rego: Level 2?
<dael> Rossen_: Yeah.
<dael> rego: Another commonly requested feature is spanning until last line including implicit grid?
<dael> fantasai: There's another open issue on that
<dael> Rossen_: Obj to accepting proposal to add to L2?
<dael> RESOLVED: Add this proposal to grid L2
Member

css-meeting-bot commented May 2, 2018

The Working Group just discussed Auto-placement aligning to a named line, and agreed to the following resolutions:

  • RESOLVED: Add this proposal to grid L2
The full IRC log of that discussion <dael> Topic: Auto-placement aligning to a named line
<dael> github: https://github.com//issues/796
<dael> Rossen_: RachelAndrews raised this, but she's not on. fantasai can you summerize?
<dael> fantasai: There have been several requrests to do auto placement but filter out lines that don't match a name. Right now auto placement uses auto keypwrd. Add a custom ident for the name after the auto. So auto and the name would only do placement on lines with that name.
<dael> fantasai: This is level 2 of grid.
<dael> Rossen_: Seems reasonable. I'm trying to understand primary use case
<dael> fantasai: Example wanting to have narrow and wide columns, some items should go in narrow and some in the wide. You name the lines to make the distinction and then be able to filter out the ones that match what you're looking for.
<dael> Rossen_: Okay. What's behavrio if I list all named lines?
<dael> fantasai: Proposal is you only have one custom ident. A line can have many names so if it matches any name it matches. That's the same as looking for lines. If you wanted various behaviors you'd name the lines differently.
<dael> TabAtkins: Identical to if you spec a line name right now. It's just giving you auto placement with same behavior.
<dael> Rossen_: Sounds reasonable. What do others think?/
<dael> florian: I like it
<dael> rego: Level 2?
<dael> Rossen_: Yeah.
<dael> rego: Another commonly requested feature is spanning until last line including implicit grid?
<dael> fantasai: There's another open issue on that
<dael> Rossen_: Obj to accepting proposal to add to L2?
<dael> RESOLVED: Add this proposal to grid L2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment