Viewport: Size in iframe - no page scale

Test Description: This test checks that window.visualViewport returns correct sizes without any pinch-zoom page scale applied but with scrollbars.

frames[0].window.visualViewport width and height is (200, 300).

frames[0].window.visualViewport width and height when scrollbars are present is (200, 300).

Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
Passwindow.visualViewport.width of iframe viewport should match iframe width.
Asserts run
Pass
assert_equals(200, 200)
    at Test.<anonymous> ( /visual-viewport/viewport-unscaled-size-iframe.html:35:17)
Passwindow.visualViewport.height of iframe viewport should match iframe height.
Asserts run
Pass
assert_equals(300, 300)
    at Test.<anonymous> ( /visual-viewport/viewport-unscaled-size-iframe.html:38:17)
Passwindow.visualViewport.width of iframe viewport should not include scrollbar.
Asserts run
Pass
assert_equals(200, 200)
    at Test.<anonymous> ( /visual-viewport/viewport-unscaled-size-iframe.html:48:17)
Passwindow.visualViewport.height of iframe viewport should not include scrollbar.
Asserts run
Pass
assert_equals(300, 300)
    at Test.<anonymous> ( /visual-viewport/viewport-unscaled-size-iframe.html:51:17)