author | Florian Queze <florian@queze.net> |
Wed, 19 Apr 2017 23:09:34 +0200 | |
changeset 353988 | 3e59d06de61430055e43fca4981f27009a8a71a0 |
parent 353987 | 130a6cae4093c1b5ea8c060c337c958a236ae636 |
child 353989 | bf8468e259dce509bfe0c4cc51874a0797932e36 |
push id | 31684 |
push user | cbook@mozilla.com |
push date | Thu, 20 Apr 2017 09:13:26 +0000 |
treeherder | mozilla-central@27311156637f [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | dao |
bugs | 1357061 |
milestone | 55.0a1 |
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
|
--- a/toolkit/content/widgets/scrollbox.xml +++ b/toolkit/content/widgets/scrollbox.xml @@ -753,20 +753,16 @@ } this.setAttribute("notoverflowing", "true"); try { // See bug 341047 and comments in overflow handler as to why // try..catch is needed here this._updateScrollButtonsDisabledState(); - - let childNodes = this._getScrollableElements(); - if (childNodes && childNodes.length) - this.ensureElementIsVisible(childNodes[0], false); } catch (e) { this.removeAttribute("notoverflowing"); } ]]></handler> <handler event="overflow" phase="capturing"><![CDATA[ // filter underflow events which were dispatched on nested scrollboxes if (event.target != this)