Fixed offset function for objects in iframes.
So. It passed tests of course.
getWindowScroll() function had some bugs.
- pageXOffset and pageYOffset properties not supported by IE 8 and earlier
- When you trying to get offset for node in iframe, getWindowScroll must return scroll inside iframe. Not for global window.
hey @velocityzen, any chance you could think up some additional tests for these to demonstrate the original problem(s) so we don't get regressions in future?
Yeah.
how are we going on those tests @velocityzen, any brilliant ideas to be able to capture this as a test case?
Hello. Don't have a time for this, sorry. Test case is simple. Just check element positioning inside iframe!
will leave this open for now in case anyone else has time to add tests for this, otherwise it'll probably just be closed at some point in the future.