Commit Graph

3 Commits

Author SHA1 Message Date
Greg Tatum
c3ca469ef1 Bug 1224304 - Handle canceling the element picker better r=gl
This changes the behavior of the element picker so that when it is
cancelled the previously selected DOM node is re-scrolled into view.
Additionally the existing behavior of the keyboard shortcuts for the
element picker was broken when the devtools toolbox was docked. The main
content area was not being focused, so the keyboard shortcuts for the
element picker were not being used. When the toolbox is detached, the
focus event is still not fired, as it's not desirable to have the
content pop into view over the devtools.

Finally there is now an additional implementation of the Escape shortcut
when the devtools are focused. The console Escape shortcut is ignored
until the element picker has been disabled making disabling the element
picker consistent irrelevant of the context.

MozReview-Commit-ID: HxENmPBoTcD
2016-10-06 13:40:53 -05:00
Eddy Bruel
8f47116a5f Bug 1268458 - Decouple CustomHighlighterFront from CustomHighlighterActor;r=jryans 2016-05-11 11:09:46 +02:00
Eddy Bruel
e868c03570 Bug 1268458 - Decouple HighlighterFront from HighlighterActor;r=jryans 2016-05-10 11:07:03 +02:00