blob: 20690eb4b71542185225efbca263a4c0509e3cca [file] [log] [blame]
This test zooms and scrolls the page and checks that client rects are correct.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
layoutViewport: 0, 0 - 785 x 585
visualViewportRect: 0, 0 - 392.5 x 292.5
fixed client bounds: 12, 10 - 30 x 20
fixed client rect: 12, 10 - 30 x 20
absolute client bounds: 120, 100 - 50 x 25
absolute client rect: 120, 100 - 50 x 25
Scrolled to 476, 526
layoutViewport: 83.5, 233.5 - 785 x 585
visualViewportRect: 476, 526 - 392.5 x 292.5
fixed client bounds: -380.5, -282.5 - 30 x 20
fixed client rect: -380.5, -282.5 - 30 x 20
absolute client bounds: -356, -426 - 50 x 25
absolute client rect: -356, -426 - 50 x 25
Scrolled to 100, 776
layoutViewport: 83.5, 483.5 - 785 x 585
visualViewportRect: 100, 776 - 392.5 x 292.5
fixed client bounds: -4.5, -282.5 - 30 x 20
fixed client rect: -4.5, -282.5 - 30 x 20
absolute client bounds: 20, -676 - 50 x 25
absolute client rect: 20, -676 - 50 x 25
Scrolled to 50, 300
layoutViewport: 50, 300 - 785 x 585
visualViewportRect: 50, 300 - 392.5 x 292.5
fixed client bounds: 12, 10 - 30 x 20
fixed client rect: 12, 10 - 30 x 20
absolute client bounds: 70, -200 - 50 x 25
absolute client rect: 70, -200 - 50 x 25
PASS successfullyParsed is true
TEST COMPLETE