author Ryan Hunt <rhunt@eqrion.net>
Thu, 13 Jul 2017 15:53:26 -0500
changeset 369744 24dc2160940436a8d5bfcf2a591c7936df0f00ee
parent 362829 ff64a7889c1fac56d48205fc2fad4eb5aa481a73
child 482060 fa94c9a03e3f019a060d028f61da69af41e3a8ff
permissions -rw-r--r--
Bug 1379280 - Only do async keyboard scrolling for a selection, not a focused element. r=smaug This commit changes async keyboard scrolling to be enabled only if the content to scroll is from a selection. This works around the problem of detecting whether an arbitrary element has key listeners that should prevent async key scrolling, because when they have the focus we will have disabled async key scrolling. MozReview-Commit-ID: 6HhSuGZNsMX

import sys
import gdbpp