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: 551
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND
Contact:

Comments in css

Post by RSteinwand » Mon Jun 19, 2017 11:53 am

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

Re: Comments in css

Post by Albert Wiersch » Mon Jun 19, 2017 7:20 pm

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.
Image
Albert Wiersch

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

Re: Comments in css

Post by RSteinwand » Wed Jun 21, 2017 8:39 am

Thanks Albert!
Rick

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

Re: Comments in css

Post by Albert Wiersch » Mon Aug 07, 2017 10:41 am

This fix should be in v17.04.
Image
Albert Wiersch

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

Re: Comments in css

Post by RSteinwand » Mon Aug 07, 2017 11:59 am

Cool!

Thanks Albert!
Rick

Post Reply