Bug 72112 - Web Inspector: Interactive color box for gradients in CSS property values
Summary: Web Inspector: Interactive color box for gradients in CSS property values
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexander Pavlov (apavlov)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-11 04:25 PST by Alexander Pavlov (apavlov)
Modified: 2011-11-11 06:22 PST (History)
10 users (show)

See Also:


Attachments
Patch (1.82 KB, patch)
2011-11-11 04:33 PST, Alexander Pavlov (apavlov)
yurys: review+
apavlov: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pavlov (apavlov) 2011-11-11 04:25:58 PST
What steps will reproduce the problem?
1. Create any gradient background eg: http://tinkerbin.com/IkMpFvw8
2. Right click on one of the two blue boxes and inspect them
3. You'll see that on the box with the class no-gradient in the Developer Tools > Elements tab > Styles that the background element has a small box showing the color. When you click on this box the color format switches between rgb, hsl and hex.
4. Inspect the box with the class of gradient.
5. The colors here simply display in whatever format they were set, in this case hex.

What is the expected result?
The colors in the background-image style should have the small box representing the current color and allowing the user to dynamically switch color modes

What happens instead?
The color is simply displayed as text in whatever format it was set.

Upstreaming http://code.google.com/p/chromium/issues/detail?id=103358
Comment 1 Alexander Pavlov (apavlov) 2011-11-11 04:33:20 PST
Created attachment 114670 [details]
Patch
Comment 2 Alexander Pavlov (apavlov) 2011-11-11 06:22:57 PST
Committed r99957: <http://trac.webkit.org/changeset/99957>