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

Line names in grid-template-columns and grid-template-rows are not parsed #96

Open
TastyPi opened this issue Jul 23, 2019 · 1 comment
Labels
type-enhancement A request for a change that isn't a bug

Comments

@TastyPi
Copy link

TastyPi commented Jul 23, 2019

Example:

.example-grid {
  display: grid;
  grid-template-columns: [start] auto [middle] 1fr [end];
  grid-template-rows: [top] auto [middle] 1fr [bottom];
}

Gives the errors:

[
    Message:error on line 3, column 26: Expecting a positive number  
    ╷  
  3 │   grid-template-columns: [start] auto [middle] 1fr [end];  
    │                          ^^^^^^  
    ╵,
    Message:error on line 3, column 39: Expecting a positive number  
    ╷  
  3 │   grid-template-columns: [start] auto [middle] 1fr [end];  
    │                                       ^^^^^^^  
    ╵,
    Message:error on line 3, column 52: Expecting a positive number  
    ╷  
  3 │   grid-template-columns: [start] auto [middle] 1fr [end];  
    │                                                    ^^^^  
    ╵,
    Message:error on line 4, column 23: Expecting a positive number  
    ╷  
  4 │   grid-template-rows: [top] auto [middle] 1fr [bottom];  
    │                       ^^^^  
    ╵,
    Message:error on line 4, column 34: Expecting a positive number  
    ╷  
  4 │   grid-template-rows: [top] auto [middle] 1fr [bottom];  
    │                                  ^^^^^^^  
    ╵,
    Message:error on line 4, column 47: Expecting a positive number  
    ╷  
  4 │   grid-template-rows: [top] auto [middle] 1fr [bottom];  
    │                                               ^^^^^^^  
    ╵
]
@kevmoo kevmoo added the type-enhancement A request for a change that isn't a bug label Jul 23, 2019
@kevmoo
Copy link
Member

kevmoo commented Jul 23, 2019

CC @leonsenft – we may be will to accept a pull request here, @TastyPi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants