Chromium Code Reviews| Index: Source/devtools/front_end/elements/StylesSidebarPane.js |
| diff --git a/Source/devtools/front_end/elements/StylesSidebarPane.js b/Source/devtools/front_end/elements/StylesSidebarPane.js |
| index 0a197a6716c82a828f1ead602c7a25e5027535b6..7f6aab98255b7495c09c973ee7b6dc51081fa665 100644 |
| --- a/Source/devtools/front_end/elements/StylesSidebarPane.js |
| +++ b/Source/devtools/front_end/elements/StylesSidebarPane.js |
| @@ -2307,7 +2307,11 @@ WebInspector.StylePropertyTreeElementBase.prototype = { |
| } |
| var colorValueElement = document.createElement("span"); |
| - colorValueElement.textContent = color.toString(format); |
| + if (format === WebInspector.Color.Format.Original) { |
|
vivekg
2014/07/08 11:03:36
This change is done to reflect the actual entered
|
| + colorValueElement.textContent = text; |
| + } else { |
| + colorValueElement.textContent = color.toString(format); |
| + } |
| /** |
| * @param {string} curFormat |