Comments in css

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
User avatar
RSteinwand
Rank VI - Professional
Rank VI - Professional
Posts: 596
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND
Contact:

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
Site Admin
Posts: 3481
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

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.

User avatar
RSteinwand
Rank VI - Professional
Rank VI - Professional
Posts: 596
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND
Contact:

Re: Comments in css

Post by RSteinwand »

Thanks Albert!
Rick

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3481
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Comments in css

Post by Albert Wiersch »

This fix should be in v17.04.

User avatar
RSteinwand
Rank VI - Professional
Rank VI - Professional
Posts: 596
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND
Contact:

Re: Comments in css

Post by RSteinwand »

Cool!

Thanks Albert!
Rick

Post Reply