066defe28ecaaa5ed0ea0787357f1f0e4ebc3faf
[WebKit-https.git] / LayoutTests / fast / visual-viewport / rubberbanding-viewport-rects-expected.txt
1 This test scrolls the page and checks that the layout and visual viewports respond as expected.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 Scrolled to -123, -234
7 JSON.stringify(layoutViewport) is {"top":0,"right":785,"bottom":585,"left":0,"width":785,"height":585}
8 JSON.stringify(visualViewport) is {"top":-234,"right":662,"bottom":351,"left":-123,"width":785,"height":585}
9
10 Scrolled to 475, 525
11 JSON.stringify(layoutViewport) is {"top":525,"right":1260,"bottom":1110,"left":475,"width":785,"height":585}
12 JSON.stringify(visualViewport) is {"top":525,"right":1260,"bottom":1110,"left":475,"width":785,"height":585}
13
14 Scrolled to 1800, 1700
15 JSON.stringify(layoutViewport) is {"top":1690,"right":2008,"bottom":2275,"left":1223,"width":785,"height":585}
16 JSON.stringify(visualViewport) is {"top":1700,"right":2585,"bottom":2275,"left":1800,"width":785,"height":575}
17 PASS successfullyParsed is true
18
19 TEST COMPLETE
20