Backed out changeset 3786755b89c0 (bug 920495) for landing with the wrong bug # in the commit message.
authorRyan VanderMeulen <ryanvm@gmail.com>
Thu, 26 Sep 2013 10:00:44 -0400
changeset 148903 7fc34f3b378069aa88a1c90fa9a8622aca532b2c
parent 148902 d0b31a793a798f7bd876472d7f00b8dc36ebc8b9
child 148904 8a975713796d82c3aa754786f5064f9578a281d2
push id34380
push userryanvm@gmail.com
push dateFri, 27 Sep 2013 01:41:00 +0000
treeherdermozilla-inbound@fdc6054e33e4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs920495
milestone27.0a1
backs out3786755b89c0ba5c678d3fe37374e86bd920837a
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 3786755b89c0 (bug 920495) for landing with the wrong bug # in the commit message.
toolkit/devtools/server/actors/inspector.js
--- a/toolkit/devtools/server/actors/inspector.js
+++ b/toolkit/devtools/server/actors/inspector.js
@@ -929,16 +929,17 @@ var WalkerActor = protocol.ActorClass({
 
     if (!node ||
         !node.rawNode ||
          node.rawNode.nodeType !== Ci.nsIDOMNode.ELEMENT_NODE) {
       return;
     }
 
     this._installHelperSheet(node);
+    this.layoutHelpers.scrollIntoViewIfNeeded(node.rawNode);
     DOMUtils.addPseudoClassLock(node.rawNode, HIGHLIGHTED_PSEUDO_CLASS);
     this._highlightTimeout = setTimeout(this._unhighlight.bind(this), HIGHLIGHTED_TIMEOUT);
 
   }, { request: { node: Arg(0, "nullable:domnode") }}),
 
   /**
    * Watch the given document node for mutations using the DOM observer
    * API.