| Viewport: Scroll in iframe - no page scale |
| |
| Test Description: This test checks that window.visualViewport returns correct offset and scroll values without any pinch-zoom page scale applied. |
| |
| |
| frames[0].window.visualViewport's offsetLeft and offsetTop is (0, 0). |
| |
| frames[0].window.visualViewport's pageLeft and pageTop is (0, 0). |
| |
| |
| PASS offsetLeft must be 0. |
| PASS offsetTop must be 0. |
| FAIL pageLeft must reflect location of viewport in document. assert_equals: expected 1000 but got 0 |
| FAIL pageTop must reflect location of viewport in document. assert_equals: expected 1200 but got 0 |
| |