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) { |
apavlov
2014/07/08 13:04:08
No braces around single-statement blocks in Blink,
|
+ colorValueElement.textContent = text; |
+ } else { |
+ colorValueElement.textContent = color.toString(format); |
+ } |
/** |
* @param {string} curFormat |