Bug 25044

Summary: Unable to view swatches for named colors in Web Inspector
Product: WebKit Reporter: Brian Weinstein <bweinstein>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Enhancement CC: timothy
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch to allow 16 named colors timothy: review+

Description Brian Weinstein 2009-04-03 17:21:02 PDT
The Web Inspector is currently unable to show swatches that do not involve RGB or Hex values (IE: Black, White, Red, etc...).

I have created a patch that will allow it to render swatches for the 16 HTML and CSS standards defined colors: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow.
Comment 1 Brian Weinstein 2009-04-03 17:58:22 PDT
Created attachment 29249 [details]
Patch to allow 16 named colors

Allows 16 HTML/CSS colors to be background of swatches
Comment 2 Timothy Hatcher 2009-04-03 18:06:47 PDT
Landed in r42224.