Title: [243026] trunk/Source/WebInspectorUI
Revision
243026
Author
joep...@webkit.org
Date
2019-03-15 16:45:55 -0700 (Fri, 15 Mar 2019)

Log Message

Web Inspector: CPU Usage Timeline - Give long thread names a tooltip if they could be ellipsized
https://bugs.webkit.org/show_bug.cgi?id=195314

Reviewed by Devin Rousso.

* UserInterface/Views/CPUUsageView.js:
(WI.CPUUsageView):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (243025 => 243026)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-03-15 23:45:53 UTC (rev 243025)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-03-15 23:45:55 UTC (rev 243026)
@@ -1,5 +1,15 @@
 2019-03-15  Joseph Pecoraro  <pecor...@apple.com>
 
+        Web Inspector: CPU Usage Timeline - Give long thread names a tooltip if they could be ellipsized
+        https://bugs.webkit.org/show_bug.cgi?id=195314
+
+        Reviewed by Devin Rousso.
+
+        * UserInterface/Views/CPUUsageView.js:
+        (WI.CPUUsageView):
+
+2019-03-15  Joseph Pecoraro  <pecor...@apple.com>
+
         Web Inspector: CPU Usage Timeline - Reduce the intensity of the orange overlay color in dark mode
         https://bugs.webkit.org/show_bug.cgi?id=195772
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CPUUsageView.js (243025 => 243026)


--- trunk/Source/WebInspectorUI/UserInterface/Views/CPUUsageView.js	2019-03-15 23:45:53 UTC (rev 243025)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CPUUsageView.js	2019-03-15 23:45:55 UTC (rev 243026)
@@ -38,6 +38,8 @@
             let detailsNameElement = this._detailsElement.appendChild(document.createElement("span"));
             detailsNameElement.classList.add("name");
             detailsNameElement.textContent = displayName;
+            if (displayName.length >= 20)
+                detailsNameElement.title = displayName;
             this._detailsElement.appendChild(document.createElement("br"));
         }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to