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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-visual-viewport-size-expected.txt

Issue 2173783002: Adds visual viewport size override to DevTools Emulation protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
(Empty)
1 Tests overrides for visual viewport size in combination with frame size override s.
2
3
4 Running test: noOverrides
5 Overrides: {"width":0,"height":0,"visualViewportWidth":0,"visualViewportHeight": 0,"deviceScaleFactor":0,"mobile":false,"fitWindow":false}
6 {
7 "visualWidth": 800,
8 "visualHeight": 600,
9 "layoutWidth": 800,
10 "layoutHeight": 600
11 }
12 Clearing overrides.
13 {
14 "visualWidth": 800,
15 "visualHeight": 600,
16 "layoutWidth": 800,
17 "layoutHeight": 600
18 }
19
20 Running test: width
21 Overrides: {"width":200,"height":0,"visualViewportWidth":0,"visualViewportHeight ":0,"deviceScaleFactor":0,"mobile":false,"fitWindow":false}
22 {
23 "visualWidth": 200,
24 "visualHeight": 600,
25 "layoutWidth": 200,
26 "layoutHeight": 600
27 }
28 Clearing overrides.
29 {
30 "visualWidth": 800,
31 "visualHeight": 600,
32 "layoutWidth": 800,
33 "layoutHeight": 600
34 }
35
36 Running test: height
37 Overrides: {"width":0,"height":200,"visualViewportWidth":0,"visualViewportHeight ":0,"deviceScaleFactor":0,"mobile":false,"fitWindow":false}
38 {
39 "visualWidth": 800,
40 "visualHeight": 200,
41 "layoutWidth": 800,
42 "layoutHeight": 200
43 }
44 Clearing overrides.
45 {
46 "visualWidth": 800,
47 "visualHeight": 600,
48 "layoutWidth": 800,
49 "layoutHeight": 600
50 }
51
52 Running test: visualWidth
53 Overrides: {"width":0,"height":0,"visualViewportWidth":100,"visualViewportHeight ":0,"deviceScaleFactor":0,"mobile":false,"fitWindow":false}
54 {
55 "visualWidth": 100,
56 "visualHeight": 600,
57 "layoutWidth": 800,
58 "layoutHeight": 600
59 }
60 Clearing overrides.
61 {
62 "visualWidth": 800,
63 "visualHeight": 600,
64 "layoutWidth": 800,
65 "layoutHeight": 600
66 }
67
68 Running test: visualHeight
69 Overrides: {"width":0,"height":0,"visualViewportWidth":0,"visualViewportHeight": 100,"deviceScaleFactor":0,"mobile":false,"fitWindow":false}
70 {
71 "visualWidth": 800,
72 "visualHeight": 100,
73 "layoutWidth": 800,
74 "layoutHeight": 600
75 }
76 Clearing overrides.
77 {
78 "visualWidth": 800,
79 "visualHeight": 600,
80 "layoutWidth": 800,
81 "layoutHeight": 600
82 }
83
84 Running test: visualWidthAndHeight
85 Overrides: {"width":0,"height":0,"visualViewportWidth":100,"visualViewportHeight ":150,"deviceScaleFactor":0,"mobile":false,"fitWindow":false}
86 {
87 "visualWidth": 100,
88 "visualHeight": 150,
89 "layoutWidth": 800,
90 "layoutHeight": 600
91 }
92 Clearing overrides.
93 {
94 "visualWidth": 800,
95 "visualHeight": 600,
96 "layoutWidth": 800,
97 "layoutHeight": 600
98 }
99
100 Running test: visualAndFrame
101 Overrides: {"width":200,"height":250,"visualViewportWidth":100,"visualViewportHe ight":150,"deviceScaleFactor":0,"mobile":false,"fitWindow":false}
102 {
103 "visualWidth": 100,
104 "visualHeight": 150,
105 "layoutWidth": 200,
106 "layoutHeight": 250
107 }
108 Clearing overrides.
109 {
110 "visualWidth": 800,
111 "visualHeight": 600,
112 "layoutWidth": 800,
113 "layoutHeight": 600
114 }
115
116 Running test: visualLargerThanFrame
117 Overrides: {"width":100,"height":150,"visualViewportWidth":200,"visualViewportHe ight":250,"deviceScaleFactor":0,"mobile":false,"fitWindow":false}
118 {
119 "visualWidth": 200,
120 "visualHeight": 250,
121 "layoutWidth": 100,
122 "layoutHeight": 150
123 }
124 Clearing overrides.
125 {
126 "visualWidth": 800,
127 "visualHeight": 600,
128 "layoutWidth": 800,
129 "layoutHeight": 600
130 }
131
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698