question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`grid: false` does not disable adding of `-ms-grid` to `@supports`

See original GitHub issue

The following input CSS:

@supports (display: grid) {
  .foo {
    display: grid;
  }
}

produces the following result with the grid: false option passed to autoprefixer:

@supports ((display: -ms-grid) or (display: grid)) {
  .foo {
    display: grid; } }

This is unexpected and leads to inconsistent prefixing. Setting grid: false should in my mind disable it everywhere, including @supports rules.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aicommented, Jan 31, 2017

Released in 6.7.2.

1reaction
aicommented, Jan 31, 2017

Sure. Thanks for report. I will try to fix it today.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS Grid Layout and progressive enhancement
Autoprefixer grid layout support​​ By default, grid prefixes are disabled, but you can enable it with grid: true option. Grid prefixes are ...
Read more >
CSS Grid in IE: CSS Grid and the New Autoprefixer
In Part 1 of this series, I debunked a few misconceptions that many people have around the Internet Explorer (IE) implementation of CSS...
Read more >
VS Code Squiggle line in HTML and CSS files - Stack Overflow
'display: grid' is not supported by Internet Explorer. Add 'display: -ms-grid' to support Internet Explorer 10+ ( compact-api/css ). Sample ...
Read more >
Remove gridlines on rowstyleselection in UI for WPF - Telerik
In the instance without the rowstyleselector, I use GridLinesVisibility="None"> and it works fine, the gridlines are gone. But in the instance ...
Read more >
client/node_modules/autoprefixer · homepage_full - GitLab
Why doesn't Autoprefixer add prefixes to border-radius ? ... Using environment variables to support CSS Grid prefixes in Create React App.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found