| Index: chrome_linux64/resources/inspector/ElementsPanel.js
|
| ===================================================================
|
| --- chrome_linux64/resources/inspector/ElementsPanel.js (revision 197568)
|
| +++ chrome_linux64/resources/inspector/ElementsPanel.js (working copy)
|
| @@ -1357,8 +1357,8 @@
|
|
|
| WebInspector.StylesSidebarPane.createExclamationMark = function(propertyName)
|
| {
|
| -var exclamationElement = document.createElement("img");
|
| -exclamationElement.className = "exclamation-mark";
|
| +var exclamationElement = document.createElement("div");
|
| +exclamationElement.className = "exclamation-mark warning-icon-small";
|
| exclamationElement.title = WebInspector.CSSMetadata.cssPropertiesMetainfo.keySet()[propertyName.toLowerCase()] ? WebInspector.UIString("Invalid property value.") : WebInspector.UIString("Unknown property name.");
|
| return exclamationElement;
|
| }
|
| @@ -2284,7 +2284,7 @@
|
| }
|
|
|
|
|
| -var shorthandProperty = new WebInspector.CSSProperty(style, style.allProperties.length, shorthand, style.shorthandValue(shorthand), "", "style", true, true, undefined);
|
| +var shorthandProperty = new WebInspector.CSSProperty(style, style.allProperties.length, shorthand, style.shorthandValue(shorthand), "", "style", true, true);
|
| var overloaded = property.inactive || this.isPropertyOverloaded(property.name, true);
|
| var item = new WebInspector.StylePropertyTreeElement(this._parentPane, this.styleRule, style, shorthandProperty, true, false, overloaded);
|
| this.propertiesTreeOutline.appendChild(item);
|
| @@ -2403,15 +2403,11 @@
|
| return document.createTextNode(WebInspector.UIString("user stylesheet"));
|
| if (this.rule.isViaInspector) {
|
| var element = document.createElement("span");
|
| -
|
| -function callback(resource)
|
| -{
|
| +var resource = WebInspector.cssModel.viaInspectorResourceForRule(this.rule);
|
| if (resource)
|
| element.appendChild(linkifyUncopyable(resource.url, this.rule.sourceLine));
|
| else
|
| element.textContent = WebInspector.UIString("via inspector");
|
| -}
|
| -WebInspector.cssModel.getViaInspectorResourceForRule(this.rule, callback.bind(this));
|
| return element;
|
| }
|
| },
|
| @@ -2812,7 +2808,10 @@
|
| if (index < 1)
|
| return this.property.name;
|
|
|
| -return text.substring(0, index).trim();
|
| +text = text.substring(0, index).trim();
|
| +if (text.startsWith("/*"))
|
| +text = text.substring(2).trim();
|
| +return text;
|
| },
|
|
|
| get priority()
|
| @@ -2933,8 +2932,7 @@
|
|
|
| function spectrumChanged(e)
|
| {
|
| -color = e.data;
|
| -var colorString = color.toString();
|
| +var colorString = (e.data);
|
| spectrum.displayText = colorString;
|
| colorValueElement.textContent = colorString;
|
| colorSwatch.setColorString(colorString);
|
|
|