  // make sure it's at least rational if it does change the
                // offset values.
                var scrollChangedOffset =
                  offsetLeft != window.visualViewport.offsetLeft ||
                  offsetTop != window.visualViewport.offsetTop;

                document.body.style.width = "";
                document.body.style.height = "";

                assert_equals(didGetScrollEvent, scrollChangedOffset,
                    'If the scrollTo changed offsets it must have fired a '