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.

Missing the close parenthesis.

See original GitHub issue

Hi, i got some css as below, from here:

/* Chrome 22-28 */
@media screen and(-webkit-min-device-pixel-ratio:0) {
  .logo img{-chrome-:only(; 
     image-rendering:-webkit-optimize-contrast;
  );} 
}

after gulp.pipe(cleancss({advanced:false}))

i got this:

@media screen and(-webkit-min-device-pixel-ratio:0){.logo img{-chrome-:only(;image-rendering:-webkit-optimize-contrast}}

but, i want this:

@media screen and(-webkit-min-device-pixel-ratio:0){.logo img{-chrome-:only(;image-rendering:-webkit-optimize-contrast;);}}

The close paren is missing, am i wrong?

npm version: 3.10.6 gulp version: 3.9.1
clean-css version: 3.4.20

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
zeed-w-beezcommented, Nov 11, 2016

@SJern no offense. May be syntax error, try the W3C demo , like this :

@font-face {
    font-family: 'GH';
    src: url("../fonts/glyphicons-halflings-regular.eot");
    src: url("../fonts/glyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/glyphicons-halflings-regular.woff2") format("woff2"), url("../fonts/glyphicons-halflings-regular.woff") format("woff"), url("../fonts/glyphicons-halflings-regular.ttf") format("truetype"), url("../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular") format("svg");
}

.redash-query {
    font-family: 'GH'
}
1reaction
jakubpawlowiczcommented, Jan 4, 2017

Due in clean-css 4.

Read more comments on GitHub >

github_iconTop Results From Across the Web

the formula is missing an opening or closing parenthesis.
I'm using this formula to sort times in a call list while avoiding empty cells. and I'm getting the formula is missing an...
Read more >
: Missing closing parenthesis: What does this mean? : r/ARK
I have some stack size multipliers I put in the Game.ini file, and when I launch my server it says in the logs:...
Read more >
Syntax error: missing `closing parenthesis` MySQL
Your code may have other errors, but this is definitely incorrect in MySQL: MIN(`average for this subject`, totalAvg).
Read more >
8.1 Mistake #1: Forgetting Your Closing Parentheses | BS1009
Therefore, if you are missing your closing parentheses, you should be able to pick it up very quickly as both sides of the...
Read more >
Catch Missing Open and Closing Parenthesis After a Function ...
In this debugging tutorial we practice catching missing open and closing parenthesis after a function call. This makes up one part of many ......
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