WorryFree Computers   »   [go: up one dir, main page]

Skip to content
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 · 5 comments
Open

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

rachelandrew opened this issue Dec 7, 2016 · 5 comments

Comments

@rachelandrew
Copy link
Contributor

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.

@rachelandrew rachelandrew added the css-grid-2 Subgrid; Current Work label Dec 7, 2016
@sunpietro
Copy link

is there any progress on this topic?

@fantasai
Copy link
Collaborator

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

@css-meeting-bot
Copy link
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

@thany
Copy link
thany commented Oct 8, 2021

Can I just add, an unnamed line would be desirable as well. This would essentially give developers the ability to insert a "newline" into a grid.

@fantasai
Copy link
Collaborator

Related: #3243

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants