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 containing '/' get minified wrong #5

Open
lukeapage opened this issue Jun 13, 2013 · 0 comments
Open

Media queries containing '/' get minified wrong #5

lukeapage opened this issue Jun 13, 2013 · 0 comments

Comments

@lukeapage
Copy link

See less/less.js#1349

the following css gets mangled when compressing with ycssmin

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
    // a {
    //   font-size: 4rem;
    // }
}


/**===================================================**\
/**  PRINT STYLES
/**===================================================**/
@media only print {
  // *                             { background: @trans !important; box-shadow: none !important; color: @black !important; text-shadow: none !important; }
  a,
  a:visited                     { text-decoration: underline; }
  a[href]:after                 { content: " (" attr(href) ")"; }
  abbr[title]:after             { content: " (" attr(title) ")"; }

  /** MANUALLY TRUNCATED FOR BREVITY **/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant