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/inspector/device-emulation/device-emulation-980-2x-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 device emulation affects media rules, viewport meta tag, body dimensi ons and window.screen. 1 Tests that device emulation affects media rules, viewport meta tag, body dimensi ons and window.screen.
2 2
3 Page reloaded. 3 Page reloaded.
4 Emulating device: 1200x1000x2 viewport='w=980' 4 Emulating device: 1200x1000x2 viewport='w=980'
5 Emulation warning: You might need to reload the page for proper user agent spoof ing and viewport rendering. 5 Emulation warning: You might need to reload the page for proper user agent spoof ing and viewport rendering.
6 Device: 6 Device:
7 window.screenX = 0px
8 window.screenY = 0px
7 Viewport: = ?w=980 9 Viewport: = ?w=980
8 @media orientation = landscape 10 @media orientation = landscape
9 window.orientation 11 window.orientation
10 @media resolution = 192dpi 12 @media resolution = 192dpi
11 @media device-pixel-ratio = 2 13 @media device-pixel-ratio = 2
12 window.devicePixelRatio = 2 14 window.devicePixelRatio = 2
13 Widths: 15 Widths:
14 @media device-width = 1200px 16 @media device-width = 1200px
15 screen.width = 1200px 17 screen.width = 1200px
16 screen.availWidth = 1200px 18 screen.availWidth = 1200px
(...skipping 14 matching lines...) Expand all
31 window.innerHeight = 817px 33 window.innerHeight = 817px
32 @media height = 816px 34 @media height = 816px
33 doc.docElem.clientHeight = 1000px 35 doc.docElem.clientHeight = 1000px
34 doc.docElem.offsetHeight = 1000px 36 doc.docElem.offsetHeight = 1000px
35 doc.docElem.scrollHeight = 1000px 37 doc.docElem.scrollHeight = 1000px
36 doc.body.clientHeight = 816px 38 doc.body.clientHeight = 816px
37 doc.body.offsetHeight = 1000px 39 doc.body.offsetHeight = 1000px
38 doc.body.scrollHeight = 1000px 40 doc.body.scrollHeight = 1000px
39 41
40 42
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698