Bug 25044 - Unable to view swatches for named colors in Web Inspector
Summary: Unable to view swatches for named colors in Web Inspector
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-03 17:21 PDT by Brian Weinstein
Modified: 2009-04-03 18:06 PDT (History)
1 user (show)

See Also:


Attachments
Patch to allow 16 named colors (1.67 KB, patch)
2009-04-03 17:58 PDT, Brian Weinstein
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.