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

Comments only media query are removed #1889

Closed
matori opened this issue Jan 21, 2016 · 1 comment
Closed

Comments only media query are removed #1889

matori opened this issue Jan 21, 2016 · 1 comment

Comments

@matori
Copy link

matori commented Jan 21, 2016

When non-nested media query contains block comments only, that media query block are removed.

@media (min-width: 640px) { 
  /* comment */
}

div {
  @media (min-width: 320px) { 
    /* comment */
  }
}

libsass compile result

@media (min-width: 320px) {
  div {
    /* comment */
  }
}

ruby-sass 3.4 compile result

@media (min-width: 640px) {
  /* comment */
}
@media (min-width: 320px) {
  div {
    /* comment */
  }
}
@xzyfer
Copy link
Contributor

xzyfer commented Jan 21, 2016

Thanks for the report @matori

@xzyfer xzyfer modified the milestones: 3.3.4, 3.3.5 Mar 19, 2016
@mgreter mgreter self-assigned this Apr 5, 2016
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

3 participants