Title: [123616] trunk/Source/WebCore
- Revision
- 123616
- Author
- [email protected]
- Date
- 2012-07-25 07:55:03 -0700 (Wed, 25 Jul 2012)
Log Message
Web Inspector: Improve ObjectPropertiesSection UI by adding a tooltip for the value.
https://bugs.webkit.org/show_bug.cgi?id=92225
Reviewed by Pavel Feldman.
Added tooltip with property value description on the property's valueElement.
* inspector/front-end/ObjectPropertiesSection.js:
(WebInspector.ObjectPropertyTreeElement.prototype.update):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (123615 => 123616)
--- trunk/Source/WebCore/ChangeLog 2012-07-25 14:12:57 UTC (rev 123615)
+++ trunk/Source/WebCore/ChangeLog 2012-07-25 14:55:03 UTC (rev 123616)
@@ -1,3 +1,15 @@
+2012-07-25 Vsevolod Vlasov <[email protected]>
+
+ Web Inspector: Improve ObjectPropertiesSection UI by adding a tooltip for the value.
+ https://bugs.webkit.org/show_bug.cgi?id=92225
+
+ Reviewed by Pavel Feldman.
+
+ Added tooltip with property value description on the property's valueElement.
+
+ * inspector/front-end/ObjectPropertiesSection.js:
+ (WebInspector.ObjectPropertyTreeElement.prototype.update):
+
2012-07-25 Pavel Feldman <[email protected]>
https://bugs.webkit.org/show_bug.cgi?id=91931
Modified: trunk/Source/WebCore/inspector/front-end/ObjectPropertiesSection.js (123615 => 123616)
--- trunk/Source/WebCore/inspector/front-end/ObjectPropertiesSection.js 2012-07-25 14:12:57 UTC (rev 123615)
+++ trunk/Source/WebCore/inspector/front-end/ObjectPropertiesSection.js 2012-07-25 14:55:03 UTC (rev 123616)
@@ -304,6 +304,8 @@
if (this.property.value.subtype === "node")
this.valueElement.addEventListener("contextmenu", this._contextMenuEventFired.bind(this), false);
+ this.valueElement.title = description || "";
+
this.listItemElement.removeChildren();
this.listItemElement.appendChild(this.nameElement);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes