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 6ba5681be5c60907561eefc1d2e4149ee8cb997b..5ae4bd98491ce6513e74ae5905a451c32af37e6a 100644 |
--- a/Source/devtools/front_end/elements/StylesSidebarPane.js |
+++ b/Source/devtools/front_end/elements/StylesSidebarPane.js |
@@ -92,7 +92,7 @@ WebInspector.StylesSidebarPane.createExclamationMark = function(property) |
exclamationElement.className = "exclamation-mark"; |
if (!WebInspector.StylesSidebarPane.ignoreErrorsForProperty(property)) |
exclamationElement.type = "warning-icon"; |
- WebInspector.Tooltip.install(exclamationElement, WebInspector.CSSMetadata.cssPropertiesMetainfo.keySet()[property.name.toLowerCase()] ? WebInspector.UIString("Invalid property value") : WebInspector.UIString("Unknown property name")); |
+ exclamationElement.title = WebInspector.CSSMetadata.cssPropertiesMetainfo.keySet()[property.name.toLowerCase()] ? WebInspector.UIString("Invalid property value") : WebInspector.UIString("Unknown property name"); |
return exclamationElement; |
} |
@@ -996,7 +996,7 @@ WebInspector.StylePropertiesSection = function(parentPane, styleRule) |
if (this.editable && rule) { |
var newRuleButton = closeBrace.createChild("div", "sidebar-pane-button-new-rule"); |
- WebInspector.Tooltip.install(newRuleButton, WebInspector.UIString("Insert Style Rule")); |
+ newRuleButton.title = WebInspector.UIString("Insert Style Rule"); |
newRuleButton.addEventListener("click", this._onNewRuleClick.bind(this), false); |
} |