Remove ownerDocument check in offset getter #2115
Closed
Comments
|
According to #12536 we had that guard in for browsers we no longer support, so that sounds good to me. |
|
Yes, we already have a couple of places where we stopped guarding against browsers with missing |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Fallout from #2043: https://github.com/jquery/jquery/pull/2043/files#r23981494
Since all supported browsers have
getBoundingClientRect, there's no reason not to just call the method right away, letting an exception throw if input is in fact not a DOM element.The "object without getBoundingClientRect" test will have to go as well.
The text was updated successfully, but these errors were encountered: