Assuming the device- width and -height in portrait orientation is 320 pixels and > 450 pixels, respectively: This tests that the width of the viewport is inferred from the orientation of the device.

Note: you should close this page, change the orientation, and open the page between tests.

Test 1: When this page is loaded in portrait orientation:

  1. If there is any yellow in the background of this page then this test FAILED. Otherwise, it PASSED.

Test 2: When this page is loaded in landscape orientation:

  1. If the background of this page is partly blue and partly yellow (may not be of the same proportion) then this test PASSED. Otherwise, it FAILED.