2010-11-29 Ilya Tikhonovsky <loislo@chromium.org>
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Nov 2010 22:10:03 +0000 (22:10 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Nov 2010 22:10:03 +0000 (22:10 +0000)
        Reviewed by Pavel Feldman.

        Web Inspector: UI fix. In Timeline, Paint events "Location" value is displayed
        in a confusing manner. The format string should be changed from %d x %d
        pattern to (%d, %d).

        https://bugs.webkit.org/show_bug.cgi?id=50178

        * English.lproj/localizedStrings.js:
        * inspector/front-end/TimelinePanel.js:
        (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@72832 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/English.lproj/localizedStrings.js
WebCore/inspector/front-end/TimelinePanel.js

index 9a2c00ca57af88d2769e4e9aecb55458b1a3b928..90feb5528b4c7b4ef5292bd134707534fe547b03 100644 (file)
@@ -1,3 +1,17 @@
+2010-11-29  Ilya Tikhonovsky  <loislo@chromium.org>
+
+        Reviewed by Pavel Feldman.
+
+        Web Inspector: UI fix. In Timeline, Paint events "Location" value is displayed
+        in a confusing manner. The format string should be changed from %d x %d
+        pattern to (%d, %d).
+
+        https://bugs.webkit.org/show_bug.cgi?id=50178
+
+        * English.lproj/localizedStrings.js:
+        * inspector/front-end/TimelinePanel.js:
+        (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent):
+
 2010-11-29  Darin Adler  <darin@apple.com>
 
         Reviewed by Andreas Kling.
index 3ecfe94916d586afea8a8ba82f402a2b4effa242..5ffe86129b121021b50689beb71deb1715acb091 100644 (file)
Binary files a/WebCore/English.lproj/localizedStrings.js and b/WebCore/English.lproj/localizedStrings.js differ
index 8900d8dd7f25eb279518fb1e59a0b85172cf7383..16eb4d7614a5c797bb2e7db2822367080a0382cd 100644 (file)
@@ -961,7 +961,7 @@ WebInspector.TimelinePanel.FormattedRecord.prototype = {
                     contentHelper._appendLinkRow(WebInspector.UIString("Script"), this.data.url, this.data.lineNumber);
                 break;
             case recordTypes.Paint:
-                contentHelper._appendTextRow(WebInspector.UIString("Location"), WebInspector.UIString("%d × %d", this.data.x, this.data.y));
+                contentHelper._appendTextRow(WebInspector.UIString("Location"), WebInspector.UIString("(%d, %d)", this.data.x, this.data.y));
                 contentHelper._appendTextRow(WebInspector.UIString("Dimensions"), WebInspector.UIString("%d × %d", this.data.width, this.data.height));
             case recordTypes.RecalculateStyles: // We don't want to see default details.
                 break;