Bug 1080344 - [Keyboard] Take into account bounding client rect to handle difference in test-runner resolutions

https://bugzilla.mozilla.org/show_bug.cgi?id=1080344