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

Side by Side Diff: LayoutTests/inspector/device-emulation/device-emulation-restore-expected.txt

Issue 205403004: [DevTools] Allow overriding only the device scale factor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase, one test fixed Created 6 years, 9 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 Tests that disabling device emulation restores back to original values. 1 Tests that disabling device emulation restores back to original values.
2 2
3 Page reloaded. 3 Page reloaded.
4 Page reloaded. 4 Page reloaded.
5 Page reloaded. 5 Page reloaded.
6 Emulating device: 1200x1000x1 viewport='w=320' 6 Emulating device: 1200x1000x1 viewport='w=320'
7 Emulation warning: You might need to reload the page for proper user agent spoof ing and viewport rendering. 7 Emulation warning: You might need to reload the page for proper user agent spoof ing and viewport rendering.
8 Device: 8 Device:
9 window.screenX = 0px
10 window.screenY = 0px
9 Viewport: = ?w=320 11 Viewport: = ?w=320
10 @media orientation = landscape 12 @media orientation = landscape
11 window.orientation 13 window.orientation
12 @media resolution = 96dpi 14 @media resolution = 96dpi
13 @media device-pixel-ratio = 1 15 @media device-pixel-ratio = 1
14 window.devicePixelRatio = 1 16 window.devicePixelRatio = 1
15 Widths: 17 Widths:
16 @media device-width = 1200px 18 @media device-width = 1200px
17 screen.width = 1200px 19 screen.width = 1200px
18 screen.availWidth = 1200px 20 screen.availWidth = 1200px
(...skipping 16 matching lines...) Expand all
35 doc.docElem.clientHeight = 1000px 37 doc.docElem.clientHeight = 1000px
36 doc.docElem.offsetHeight = 1000px 38 doc.docElem.offsetHeight = 1000px
37 doc.docElem.scrollHeight = 1000px 39 doc.docElem.scrollHeight = 1000px
38 doc.body.clientHeight = 266px 40 doc.body.clientHeight = 266px
39 doc.body.offsetHeight = 1000px 41 doc.body.offsetHeight = 1000px
40 doc.body.scrollHeight = 1000px 42 doc.body.scrollHeight = 1000px
41 43
42 Emulation warning: You might need to reload the page for proper user agent spoof ing and viewport rendering. 44 Emulation warning: You might need to reload the page for proper user agent spoof ing and viewport rendering.
43 Original metrics restored correctly. 45 Original metrics restored correctly.
44 46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698