Web Inspector: Improve display of previews with overflow
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Mar 2015 05:13:46 +0000 (05:13 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Mar 2015 05:13:46 +0000 (05:13 +0000)
https://bugs.webkit.org/show_bug.cgi?id=142321

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-03-04
Reviewed by Timothy Hatcher.

* UserInterface/Views/ObjectPreviewView.js:
(WebInspector.ObjectPreviewView.prototype._appendEntryPreviews):
(WebInspector.ObjectPreviewView.prototype._appendPropertyPreviews):

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

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/ObjectPreviewView.js

index 0b9d4a0..38aa800 100644 (file)
@@ -1,5 +1,16 @@
 2015-03-04  Joseph Pecoraro  <pecoraro@apple.com>
 
+        Web Inspector: Improve display of previews with overflow
+        https://bugs.webkit.org/show_bug.cgi?id=142321
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/ObjectPreviewView.js:
+        (WebInspector.ObjectPreviewView.prototype._appendEntryPreviews):
+        (WebInspector.ObjectPreviewView.prototype._appendPropertyPreviews):
+
+2015-03-04  Joseph Pecoraro  <pecoraro@apple.com>
+
         Web Inspector: Array/Collection Sizes should be visible and distinct
         https://bugs.webkit.org/show_bug.cgi?id=142254
 
index 4f9909f..d364dff 100644 (file)
@@ -165,7 +165,7 @@ WebInspector.ObjectPreviewView.prototype = {
         }
 
         if (preview.overflow)
-            element.appendChild(document.createTextNode("\u2026"));
+            element.appendChild(document.createTextNode("\u2026"));
         element.appendChild(document.createTextNode("}"));
 
         return lossless;
@@ -213,7 +213,7 @@ WebInspector.ObjectPreviewView.prototype = {
         }
 
         if (preview.overflow)
-            element.appendChild(document.createTextNode("\u2026"));
+            element.appendChild(document.createTextNode("\u2026"));
 
         element.appendChild(document.createTextNode(isArray ? "]" : "}"));