Comments in css

For technical support and bug reports for all editions of CSS HTML Validator, including htmlval for Linux and Mac.
User avatar
RSteinwand
Rank VI - Professional
Posts: 596
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND

Comments in css

Post by RSteinwand »

Hi Albert,

I noticed this a few weeks ago and made a mental note to bug it.

Saw it again today and decided I better do it now. :?

This code properly shows css comments as green:

Code: Select all

#menu a{margin:0;/*padding:0 8px;font-size:14px;font-weight:700;*/text-decoration:none
However, if I move the comment to before a semicolon, it displays the comment as regular text color.

Code: Select all

#menu a{margin:0/*;padding:0 8px;font-size:14px;font-weight:700*/;text-decoration:none
Not a big deal, but it's nice to see commented code when trying to debug something.

Thanks.
Rick
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: Comments in css

Post by Albert Wiersch »

Hi Rick,

Thanks. I've reported this to the editor developers... if they provide a fix then I should be able to get it into a future update.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
User avatar
RSteinwand
Rank VI - Professional
Posts: 596
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND

Re: Comments in css

Post by RSteinwand »

Thanks Albert!
Rick
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: Comments in css

Post by Albert Wiersch »

This fix should be in v17.04.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
User avatar
RSteinwand
Rank VI - Professional
Posts: 596
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND

Re: Comments in css

Post by RSteinwand »

Cool!

Thanks Albert!
Rick