author | Fabrice Desré <fabrice@mozilla.com> |
Sun, 24 Nov 2013 15:18:00 -0800 | |
changeset 157287 | fbafab3a0c281631094e7c55f19ddcb39e13844b |
parent 157286 | 05159ac41482cf85857e89e168042ae4b704fbcd |
child 157288 | 2cae126450b2214cb30027257e262ffea3644201 |
push id | 25707 |
push user | cbook@mozilla.com |
push date | Mon, 25 Nov 2013 11:35:13 +0000 |
treeherder | mozilla-central@70779672ea78 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | vingtetun |
bugs | 942259 |
milestone | 28.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/dom/browser-element/BrowserElementPanning.js +++ b/dom/browser-element/BrowserElementPanning.js @@ -405,16 +405,17 @@ const ContentPanning = { } function targetParent(node) { return node.parentNode || node.frameElement || null; } function scroll(delta) { current = root; + firstScroll = true; while (current) { if (doScroll(current, delta)) { firstScroll = false; return true; } // TODO The current code looks for possible scrolling regions only if // this is the first scroll action but this should be more dynamic.