LightGray

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
User avatar
roedygr
Rank V - Professional
Rank V - Professional
Posts: 370
Joined: Fri Feb 17, 2006 5:22 am
Location: Victoria BC Canada
Contact:

LightGray

Post by roedygr » Fri May 16, 2014 5:07 am

I posted this message message, and it disappeared.
HTML Validator complied about "LightGray" in HTML5 saying I should use Silver. LightGray is d3d3d3 and Silver is c0c0c0 so this does not make sense.

I changed it to "LightGrey". It was happy. However, I wonder if this is kosher HTML5. I could not find anything on the matter.

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

Re: LightGray

Post by Albert Wiersch » Fri May 16, 2014 8:06 am

Hello,

The exact message you saw was probably this:
The color "lightgray" is supported by some browsers such as Opera and Firefox but not by Internet Explorer (including IE 7). Consider using "silver" (which is a standard CSS2.1 color or use the more supported spelling "lightgrey" instead (which is supported by IE 7). "#D3D3D3" may also be used for a light gray color. This message is displayed only once.

I've updated the message to:
The color "lightgray" is supported by most or all current browsers but not by Internet Explorer (including IE7). Consider using "#d3d3d3" for better compatibility. Another option is "silver", which is slightly darker but is a standard CSS2.1 color. Finally, you could use the more supported spelling "lightgrey" instead (which is supported by IE7). This message is displayed only once.

That should make it more clear. Thanks for bringing this to my attention.

On an interesting note, it seems like IE7 is now "dead" like IE6 died awhile back:
http://theie7countdown.com/

So I may relegate this to a legacy message soon.

IE8 however, is still "alive", with 10% market share:
http://theie8countdown.com/
Image
Albert Wiersch

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

Re: LightGray

Post by RSteinwand » Mon Sep 29, 2014 12:03 pm

IMHO IE7 isn't dead until compatibility mode uses something newer, like IE9.

I see there's also a ie10countdown and ie9countdown..... :D
Rick

Post Reply