microsoft / microsoft/vscode-css-languageservice

[css] support IE repeat syntax

Open
#211 1 comment 2 reactions 1 assignee View on GitHub

@aeschli is already working on this.

Since Mar 8, 2020.

feature-request
Dominant language
TypeScript
Stars
384
Forks
217
Avg merge
3d 16h
Merged PRs (30d)
14

Description

the code :

  .wrapper {
            display: -ms-grid;
            display: grid;
            -ms-grid-columns: (1fr)[4];
            grid-template-columns: repeat(4, 1fr);
        }

the forth line has a special value'(1fr)[4]',it triggers error(s)

"code": "css-lbracketexpected",
"message": "] expected",

even though,it's not fatal,the value above equals 1fr 1fr 1fr 1fr,and does not trigger error.
the code is auto created by a extension(autoprefixer),and it's normal behave in browser.
it just show error things in vscode,I don't know Whether this problem can be fixed?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.