Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Single line comments using // #35

Closed
SINE opened this issue Aug 5, 2015 · 2 comments
Closed

Single line comments using // #35

SINE opened this issue Aug 5, 2015 · 2 comments

Comments

@SINE
Copy link

SINE commented Aug 5, 2015

Single Line Comments aren't colored properly, they should be treated the same way as any actual CSS parser handles them (everything after them to be treated as commented out).

atom-singlelinecomment

@benogle
Copy link
Contributor

benogle commented Aug 7, 2015

Single line comments are /* comment here */ in CSS. See http://stackoverflow.com/questions/12298890/is-it-bad-practice-to-comment-out-single-lines-of-css-with

@benogle benogle closed this as completed Aug 7, 2015
@SINE
Copy link
Author

SINE commented Aug 9, 2015

// is known as a next construct comment in CSS.
You may be right in it not being documented by W3C, but please consider this article by Atkins Jr., member of the CSS Working Group:
http://www.xanthir.com/b4U10

It does work, even without being publically endorsed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants