This test checks that requesting the viewport size in an iframe causes any pending layout to occur.

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
Passviewport-read-size-in-iframe-causes-layout
Asserts run
Pass
assert_equals(200, 200, "Reading width of iframe viewport should match iframe width.")
    at Test.<anonymous> ( /visual-viewport/viewport-read-size-in-iframe-causes-layout.html:17:7)
Pass
assert_equals(300, 300, "Reading height of iframe viewport should match iframe height.")
    at Test.<anonymous> ( /visual-viewport/viewport-read-size-in-iframe-causes-layout.html:19:7)
Pass
assert_equals(200, 200, "Reading width of iframe viewport should cause a layout and exclude the new scrollbar.")
    at Test.<anonymous> ( /visual-viewport/viewport-read-size-in-iframe-causes-layout.html:29:7)
Pass
assert_equals(300, 300, "Reading height of iframe viewport should cause a layout and exclude the new scrollbar.")
    at Test.<anonymous> ( /visual-viewport/viewport-read-size-in-iframe-causes-layout.html:31:7)