Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: LayoutTests/fast/dom/Window/window-resize-and-move-arguments-expected.txt

Issue 879913003: Use IntRect instead of FloatRect for window positions and sizes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: added FIXME comments Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This test makes sure that calling the window moving and resizing methods with le ss than 2 arguments treats the missing arguments as 0. 1 This test makes sure that calling the window moving and resizing methods with le ss than 2 arguments treats the missing arguments as 0.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 6
7 window.resizeTo Tests 7 window.resizeTo Tests
8 8
9 Testing - resizeTo with 0 arguments 9 Testing - resizeTo with 0 arguments
10 PASS window.outerWidth is resetWidth 10 PASS window.outerWidth is resetWidth
(...skipping 13 matching lines...) Expand all
24 Testing - resizeBy with 1 argument 24 Testing - resizeBy with 1 argument
25 PASS window.outerWidth is resetWidth + x 25 PASS window.outerWidth is resetWidth + x
26 PASS window.outerHeight is resetHeight 26 PASS window.outerHeight is resetHeight
27 Testing - resizeBy with more than 2 arguments 27 Testing - resizeBy with more than 2 arguments
28 PASS window.outerWidth is resetWidth + x 28 PASS window.outerWidth is resetWidth + x
29 PASS window.outerHeight is resetHeight + y 29 PASS window.outerHeight is resetHeight + y
30 30
31 window.moveTo Tests 31 window.moveTo Tests
32 32
33 Testing - moveTo with 0 arguments 33 Testing - moveTo with 0 arguments
34 PASS window.screenX is screen.availLeft 34 PASS window.screenX is resetX
35 PASS window.screenY is screen.availTop 35 PASS window.screenY is resetY
36 Testing - moveTo with 1 argument 36 Testing - moveTo with 1 argument
37 PASS window.screenX is Math.max(x, screen.availLeft) 37 PASS window.screenX is Math.max(x, screen.availLeft)
38 PASS window.screenY is screen.availTop 38 PASS window.screenY is resetY
39 Testing - moveTo with more than 2 arguments 39 Testing - moveTo with more than 2 arguments
40 PASS window.screenX is Math.max(x, screen.availLeft) 40 PASS window.screenX is Math.max(x, screen.availLeft)
41 PASS window.screenY is Math.max(y, screen.availTop) 41 PASS window.screenY is Math.max(y, screen.availTop)
42 42
43 window.moveBy Tests 43 window.moveBy Tests
44 44
45 Testing - moveBy with 0 arguments 45 Testing - moveBy with 0 arguments
46 PASS window.screenX is resetX 46 PASS window.screenX is resetX
47 PASS window.screenY is resetY 47 PASS window.screenY is resetY
48 Testing - moveBy with 1 argument 48 Testing - moveBy with 1 argument
49 PASS window.screenX is resetX + x 49 PASS window.screenX is resetX + x
50 PASS window.screenY is resetY 50 PASS window.screenY is resetY
51 Testing - moveBy with more than 2 arguments 51 Testing - moveBy with more than 2 arguments
52 PASS window.screenX is resetX + x 52 PASS window.screenX is resetX + x
53 PASS window.screenY is resetY + y 53 PASS window.screenY is resetY + y
54 PASS successfullyParsed is true 54 PASS successfullyParsed is true
55 55
56 TEST COMPLETE 56 TEST COMPLETE
57 57
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Window/window-resize-and-move-arguments.html ('k') | Source/core/frame/DOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698