9f2189dce7ef5aea5cb0f7e40a4092a8bf8005b6
[framework/web/webkit-efl.git] / LayoutTests / fast / dom / Window / window-resize-and-move-arguments-expected.txt
1 This test makes sure that calling the window moving and resizing methods with less than 2 arguments treats the missing arguments as 0.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6
7 window.resizeTo Tests
8
9 Testing - resizeTo with 0 arguments
10 PASS window.outerWidth is resetWidth
11 PASS window.outerHeight is resetHeight
12 Testing - resizeTo with 1 argument
13 PASS window.outerWidth is width
14 PASS window.outerHeight is resetHeight
15 Testing - resizeTo with more than 2 arguments
16 PASS window.outerWidth is width
17 PASS window.outerHeight is height
18
19 window.resizeBy Tests
20
21 Testing - resizeBy with 0 arguments
22 PASS window.outerWidth is resetWidth
23 PASS window.outerHeight is resetHeight
24 Testing - resizeBy with 1 argument
25 PASS window.outerWidth is resetWidth + x
26 PASS window.outerHeight is resetHeight
27 Testing - resizeBy with more than 2 arguments
28 PASS window.outerWidth is resetWidth + x
29 PASS window.outerHeight is resetHeight + y
30
31 window.moveTo Tests
32
33 Testing - moveTo with 0 arguments
34 PASS window.screenX is resetX
35 PASS window.screenY is resetY
36 Testing - moveTo with 1 argument
37 PASS window.screenX is resetX + x
38 PASS window.screenY is resetY
39 Testing - moveTo with more than 2 arguments
40 PASS window.screenX is x + screen.availLeft
41 PASS window.screenY is y + screen.availTop
42
43 window.moveBy Tests
44
45 Testing - moveBy with 0 arguments
46 PASS window.screenX is resetX
47 PASS window.screenY is resetY
48 Testing - moveBy with 1 argument
49 PASS window.screenX is resetX + x
50 PASS window.screenY is resetY
51 Testing - moveBy with more than 2 arguments
52 PASS window.screenX is resetX + x
53 PASS window.screenY is resetY + y
54 PASS successfullyParsed is true
55
56 TEST COMPLETE
57