Viewport: Scrollbars Cause Resize

Test Description: This test checks that the appearance of classic scrollbars will cause a resize event to be fired at window.visualViewport.

Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
Passview size initially matches window size
Asserts run
Pass
assert_equals(1280, 1280)
    at Test.<anonymous> ( /visual-viewport/viewport-scrollbars-cause-resize.html:28:15)
Pass
assert_equals(720, 720)
    at Test.<anonymous> ( /visual-viewport/viewport-scrollbars-cause-resize.html:29:15)
PassResize event was fired at window.visualViewport if, and only if, scrollbars are classic (i.e. affect flow)
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /visual-viewport/viewport-scrollbars-cause-resize.html:42:13)
Passview size reflects appearance of classic scrollbars
Asserts run
Pass
assert_equals(1280, 1280)
    at Test.<anonymous> ( /visual-viewport/viewport-scrollbars-cause-resize.html:53:15)
Pass
assert_equals(720, 720)
    at Test.<anonymous> ( /visual-viewport/viewport-scrollbars-cause-resize.html:54:15)