Title: [187700] trunk/Source/WebInspectorUI
Revision
187700
Author
drou...@apple.com
Date
2015-07-31 18:32:02 -0700 (Fri, 31 Jul 2015)

Log Message

Web Inspector: Scrolling "jumps" in console
https://bugs.webkit.org/show_bug.cgi?id=147482

Reviewed by Joseph Pecoraro.

Removed focus call on messageElement.

* UserInterface/Views/LogContentView.js:
(WebInspector.LogContentView):
(WebInspector.LogContentView.prototype._mousedown): Deleted.
(WebInspector.LogContentView.prototype._didFocus): Deleted.
(WebInspector.LogContentView.prototype._didBlur): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (187699 => 187700)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-08-01 01:22:23 UTC (rev 187699)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-08-01 01:32:02 UTC (rev 187700)
@@ -1,3 +1,18 @@
+2015-07-31  Devin Rousso  <drou...@apple.com>
+
+        Web Inspector: Scrolling "jumps" in console
+        https://bugs.webkit.org/show_bug.cgi?id=147482
+
+        Reviewed by Joseph Pecoraro.
+
+        Removed focus call on messageElement.
+
+        * UserInterface/Views/LogContentView.js:
+        (WebInspector.LogContentView):
+        (WebInspector.LogContentView.prototype._mousedown): Deleted.
+        (WebInspector.LogContentView.prototype._didFocus): Deleted.
+        (WebInspector.LogContentView.prototype._didBlur): Deleted.
+
 2015-07-31  Joseph Pecoraro  <pecor...@apple.com>
 
         Web Inspector: Unskip / Unflake inspector tests after r187627

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.js (187699 => 187700)


--- trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.js	2015-08-01 01:22:23 UTC (rev 187699)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.js	2015-08-01 01:32:02 UTC (rev 187700)
@@ -42,8 +42,6 @@
     this.messagesElement.tabIndex = 0;
     this.messagesElement.setAttribute("role", "log");
     this.messagesElement.addEventListener("mousedown", this._mousedown.bind(this));
-    this.messagesElement.addEventListener("focus", this._didFocus.bind(this));
-    this.messagesElement.addEventListener("blur", this._didBlur.bind(this));
     this.messagesElement.addEventListener("keydown", this._keyDown.bind(this));
     this.messagesElement.addEventListener("dragstart", this._ondragstart.bind(this), true);
     this.element.appendChild(this.messagesElement);
@@ -409,9 +407,6 @@
             return;
         }
 
-        if (!this._focused)
-            this.messagesElement.focus();
-
         this._mouseDownWrapper = event.target.enclosingNodeOrSelfWithClass(WebInspector.LogContentView.ItemWrapperStyleClassName);
         this._mouseDownShiftKey = event.shiftKey;
         this._mouseDownCommandKey = event.metaKey;
@@ -732,16 +727,6 @@
         this._performSearch();
     },
 
-    _didFocus: function(event)
-    {
-        this._focused = true;
-    },
-
-    _didBlur: function(event)
-    {
-        this._focused = false;
-    },
-
     _keyDown: function(event)
     {
         if (this._keyboardShortcutCommandA.matchesEvent(event))
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to