Title: [131182] trunk/Source/WebCore
Revision
131182
Author
[email protected]
Date
2012-10-12 06:08:13 -0700 (Fri, 12 Oct 2012)

Log Message

Web Inspector: trim filename in the call stack sidebar
https://bugs.webkit.org/show_bug.cgi?id=99169

Reviewed by Yury Semikhatsky.

Otherwise long file names are rendered poorly.

* inspector/front-end/CallStackSidebarPane.js:
(WebInspector.CallStackSidebarPane.Placard.prototype._update):
* inspector/front-end/inspector.css:
(.placard .subtitle):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (131181 => 131182)


--- trunk/Source/WebCore/ChangeLog	2012-10-12 13:01:20 UTC (rev 131181)
+++ trunk/Source/WebCore/ChangeLog	2012-10-12 13:08:13 UTC (rev 131182)
@@ -1,3 +1,17 @@
+2012-10-12  Pavel Feldman  <[email protected]>
+
+        Web Inspector: trim filename in the call stack sidebar
+        https://bugs.webkit.org/show_bug.cgi?id=99169
+
+        Reviewed by Yury Semikhatsky.
+
+        Otherwise long file names are rendered poorly.
+
+        * inspector/front-end/CallStackSidebarPane.js:
+        (WebInspector.CallStackSidebarPane.Placard.prototype._update):
+        * inspector/front-end/inspector.css:
+        (.placard .subtitle):
+
 2012-10-12  Vsevolod Vlasov  <[email protected]>
 
         Web Inspector: Resume button in element inspector -> scripts has tooltip 'pause script execution'

Modified: trunk/Source/WebCore/inspector/front-end/CallStackSidebarPane.js (131181 => 131182)


--- trunk/Source/WebCore/inspector/front-end/CallStackSidebarPane.js	2012-10-12 13:01:20 UTC (rev 131181)
+++ trunk/Source/WebCore/inspector/front-end/CallStackSidebarPane.js	2012-10-12 13:08:13 UTC (rev 131182)
@@ -178,7 +178,7 @@
 WebInspector.CallStackSidebarPane.Placard.prototype = {
     _update: function(uiLocation)
     {
-        this.subtitle = WebInspector.formatLinkText(uiLocation.uiSourceCode.url, uiLocation.lineNumber);
+        this.subtitle = WebInspector.formatLinkText(uiLocation.uiSourceCode.url, uiLocation.lineNumber).trimMiddle(100);
     },
 
     _placardContextMenu: function(event)

Modified: trunk/Source/WebCore/inspector/front-end/inspector.css (131181 => 131182)


--- trunk/Source/WebCore/inspector/front-end/inspector.css	2012-10-12 13:01:20 UTC (rev 131181)
+++ trunk/Source/WebCore/inspector/front-end/inspector.css	2012-10-12 13:08:13 UTC (rev 131182)
@@ -1370,7 +1370,6 @@
     float: right;
     font-size: 10px;
     margin-left: 5px;
-    max-width: 55%;
     color: rgba(0, 0, 0, 0.7);
     text-overflow: ellipsis;
     overflow: hidden;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to