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

Side by Side Diff: LayoutTests/fast/dom/Window/window-scaled-viewport-properties-expected.txt

Issue 731413002: Adjust DOMWindow properties to emulate old style pinch semantics (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changes from feedback Created 6 years, 1 month 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
(Empty)
1 This test makes sure the window properties related to the viewport remain correc t under pinch-to-zoom.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 ===Unscaled===
7
8 PASS window.innerWidth is 800
9 PASS window.innerHeight is 600
10
11 ===Pinch Zoom in to 2X===
12
13 PASS window.innerWidth is 400
14 PASS window.innerHeight is 300
15 PASS window.scrollX is 0
16 PASS window.scrollY is 0
17 PASS window.scrollX is 10
18 PASS window.scrollY is 20
19 PASS window.scrollX is 1600
20 PASS window.scrollY is 1200
21 PASS window.scrollX is 0
22 PASS window.scrollY is 0
23 PASS window.scrollX is 1600
24 PASS window.scrollY is 1200
25 PASS window.scrollX is 0
26 PASS window.scrollY is 0
27
28 ===Pinch Out to 0.5X===
29
30 PASS window.innerWidth is 1600
31 PASS window.innerHeight is 1200
32 PASS window.scrollX is 0
33 PASS window.scrollY is 0
34 PASS window.scrollX is 10
35 PASS window.scrollY is 20
36 PASS window.scrollX is 400
37 PASS window.scrollY is 300
38 PASS window.scrollX is 0
39 PASS window.scrollY is 0
40 PASS window.scrollX is 400
41 PASS window.scrollY is 300
42 PASS window.scrollX is 0
43 PASS window.scrollY is 0
44
45 ===Test OnScroll===
46
47 PASS window.innerWidth is 800
48 PASS window.innerHeight is 600
49 PASS window.scrollX is 0
50 PASS window.scrollY is 0
51 PASS OnScroll called for scroll #1
52 PASS OnScroll called for scroll #2
53 PASS OnScroll called for scroll #3
54 PASS OnScroll called for scroll #4
55
56 PASS successfullyParsed is true
57
58 TEST COMPLETE
59
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698