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

Media queries with only CSS comment as content aren't included in the output #1437

Closed
ghost opened this issue Aug 12, 2015 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Aug 12, 2015

Input:

div {

  @media screen and (min-width: 37.5em) {
    /* asd */
  }

  @media screen and (min-width: 48em) {
    display: none;
  }
}

Expected result (demo with Sass 3.4.14)

@media screen and (min-width: 37.5em) {
  div {
    /* asd */
  }
}
@media screen and (min-width: 48em) {
  div {
    display: none;
  }
}

Actual result (demo with libsass 3.2.5)

div {
  /* asd */
}

@media screen and (min-width: 48em) {
  div {
    display: none;
  }
}
@xzyfer
Copy link
Contributor

xzyfer commented Aug 17, 2015

Thanks @indrekpaas. I've confirmed this issue is still present on master. These discrepancies are important, but since doesn't change the semantics of the output CSS this is a low priority atm.

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

2 participants