Title: [101635] trunk/Source/WebCore
Revision
101635
Author
[email protected]
Date
2011-12-01 00:34:10 -0800 (Thu, 01 Dec 2011)

Log Message

Web Inspector: [Styles] Exclamation mark hint ignores property case
https://bugs.webkit.org/show_bug.cgi?id=73535

Reviewed by Pavel Feldman.

* inspector/front-end/StylesSidebarPane.js:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (101634 => 101635)


--- trunk/Source/WebCore/ChangeLog	2011-12-01 08:29:14 UTC (rev 101634)
+++ trunk/Source/WebCore/ChangeLog	2011-12-01 08:34:10 UTC (rev 101635)
@@ -1,3 +1,12 @@
+2011-12-01  Alexander Pavlov  <[email protected]>
+
+        Web Inspector: [Styles] Exclamation mark hint ignores property case
+        https://bugs.webkit.org/show_bug.cgi?id=73535
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/front-end/StylesSidebarPane.js:
+
 2011-12-01  Pavel Feldman  <[email protected]>
 
         Web Inspector: fix dedicated workers inspection (undefined is not an object).

Modified: trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js (101634 => 101635)


--- trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js	2011-12-01 08:29:14 UTC (rev 101634)
+++ trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js	2011-12-01 08:34:10 UTC (rev 101635)
@@ -1711,7 +1711,7 @@
             // Add a separate exclamation mark IMG element with a tooltip.
             var exclamationElement = document.createElement("img");
             exclamationElement.className = "exclamation-mark";
-            exclamationElement.title = WebInspector.CSSCompletions.cssNameCompletions.keySet()[this.property.name] ? WebInspector.UIString("Invalid property value.") : WebInspector.UIString("Unknown property name.");
+            exclamationElement.title = WebInspector.CSSCompletions.cssNameCompletions.keySet()[this.property.name.toLowerCase()] ? WebInspector.UIString("Invalid property value.") : WebInspector.UIString("Unknown property name.");
             this.listItemElement.insertBefore(exclamationElement, this.listItemElement.firstChild);
         }
         if (this.property.inactive)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to