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

Incorrect comment placement #25

Open
inko9nito opened this issue Sep 17, 2013 · 4 comments
Open

Incorrect comment placement #25

inko9nito opened this issue Sep 17, 2013 · 4 comments

Comments

@inko9nito
Copy link

This issue is exposed in the original sample code. The comment should be placed after the semicolon:

Screenshot

@kinduff
Copy link

kinduff commented Sep 18, 2013

I dont't really like the comments before the semicolon. 👎 Any info about what's correct?

@inko9nito
Copy link
Author

As stated in my original issue, the comment should appear after the semicolon:

background-color: #333; /* darkgrey */

@kinduff
Copy link

kinduff commented Sep 18, 2013

Oh, my bad. 👍 then, that's the correct way imho.

@ariya
Copy link

ariya commented Oct 11, 2013

This in fact triggers a bug.

Before:

menu{color:red; /*foobar*/}

Beautified:

menu {
    color: red;
 /*foobar*/;
}

The unnecessary semicolon there is wrong.

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

3 participants