火狐兼容getBoundingClientRect有关问题

火狐兼容getBoundingClientRect问题最近开发中遇到这么个兼容大问题,项目比较复杂,所以我将问题核心抽离出

火狐兼容getBoundingClientRect问题
最近开发中遇到这么个兼容大问题,项目比较复杂,所以我将问题核心抽离出来。
如下:


火狐兼容getBoundingClientRect有关问题火狐兼容getBoundingClientRect有关问题
火狐兼容getBoundingClientRect有关问题

请问大虾们怎么破? 兼容 火狐 range
[解决办法]
直接用
var boundTest = span_doms[i].getBoundingClientRect();