Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[css-grid] grid-line custom identifier auto? #2856
Blink and WebKit reject grid-row-end
Blink and WebKit reject grid-row-end values
Testing with uppercase makes it clear that
All browsers reject the following:
The relevant grammar for
The custom-ident spec may be relevant:
I don't see a reading of the spec where
Some excerpts from Grid Layout spec:
Also from CSS Values and Units spec:
There is also a related issue #494 and some old threads in www-style:
pushed a commit
Jul 4, 2018
The Working Group just discussed
The full IRC log of that discussion<dael> Topic: grid-line custom identifier auto?
<dael> github: https://github.com//issues/2856
<dael> Rossen_: eric brought this and fantasai you put this on the agenda
<dael> fantasai: There was an issue against grid asking if the ID auto should be excluded from the places where we use custom ident to rep. named lined. Auto has a special meaning it doesn't resolve to a named line. We exclude span keyword, but not auto.
<dael> fantasai: Question if we should exclude auto in places we exclude span
<dael> Rossen_: I wouldn't put span and auto in same cat. for this behavior. span is forward looking directive and auto is a applied to a single item
<dael> fantasai: You cannot have...if you named a line auto you're just going to have trouble, esp. in level 2 where you can combine auto with a custom ident. You can see the grammar in the issue. If a custom ident can include auto you can write auto1 and have that resolve. I'm not sure allowing that is helpful
<dael> fantasai: Where we have span custom ident we're planning to add auto as a similar pattern. That's a grid 2 issue
<dael> Rossen_: I see your point
<dael> Rossen_: I can live with it
<dael> Rossen_: Anyone from mozilla that's close to grid impl. dbaron do you have an opinion?
<dael> dbaron: No opinion. Have to ask Mats
<dael> Rossen_: It's only our impl that allow auto
<dael> fantasai: I think chances of people naming a line auto is pretty much 0 unless you're a QA person
<dael> Rossen_: How did we end up removing span but not auto?
<dael> fantasai: Don't know. I think there's some syntactic construct where one was ambig. It said span and a custom ident you could do and you want to know that you are consuming a custom ident or the span up front. If you write span span is it a keyword or an ident. So we prob did for parsing
<dael> Rossen_: We allow span int and span custom ident
<dael> fantasai: Yes and auto custom ident will be in L2
<dael> Rossen_: Okay, I'm okay with proposed change
<dael> Rossen_: Any other opinions? Or do we try to resolve?
<fantasai> s/auto custom ident/auto <custom-ident>/
<dael> Rossen_: Objections to dropping auto from grid line syntax?
<dael> RESOLVED: drop auto from grid line syntax