Bug 857000 - change location code to use getClientBoundingRect instead of calculating via offset r=mdas a=test-only

--HG--
extra : transplant_source : %BD%D3%EF_O%24%FF94.%FF%2A%C7%98%13%F6%1A%85%B7%B5