OLD | NEW |
1 Tests that device emulation with insets affects window.screenWidth, window.scree
nHeight, screen.width and screen.height. | 1 Tests that device emulation with insets affects window.screenWidth, window.scree
nHeight, screen.width and screen.height. |
2 | 2 |
3 Page reloaded. | 3 Page reloaded. |
4 Emulating device: 1200x1000x1 viewport='none' | 4 Emulating device: 1200x1000x1 viewport='none' |
5 Emulation warning: You might need to reload the page for proper user agent spoof
ing and viewport rendering. | |
6 Device: | 5 Device: |
7 window.screenX = 10px | 6 window.screenX = 10px |
8 window.screenY = 20px | 7 window.screenY = 20px |
9 Viewport: = ?none | 8 Viewport: = ?none |
10 @media orientation = landscape | 9 @media orientation = landscape |
11 window.orientation | 10 window.orientation |
12 @media resolution = 96dpi | 11 @media resolution = 96dpi |
13 @media device-pixel-ratio = 1 | 12 @media device-pixel-ratio = 1 |
14 window.devicePixelRatio = 1 | 13 window.devicePixelRatio = 1 |
15 Widths: | 14 Widths: |
(...skipping 17 matching lines...) Expand all Loading... |
33 window.innerHeight = 1000px | 32 window.innerHeight = 1000px |
34 @media height = 1000px | 33 @media height = 1000px |
35 doc.docElem.clientHeight = 1000px | 34 doc.docElem.clientHeight = 1000px |
36 doc.docElem.offsetHeight = 1000px | 35 doc.docElem.offsetHeight = 1000px |
37 doc.docElem.scrollHeight = 1000px | 36 doc.docElem.scrollHeight = 1000px |
38 doc.body.clientHeight = 1000px | 37 doc.body.clientHeight = 1000px |
39 doc.body.offsetHeight = 1000px | 38 doc.body.offsetHeight = 1000px |
40 doc.body.scrollHeight = 1000px | 39 doc.body.scrollHeight = 1000px |
41 | 40 |
42 | 41 |
OLD | NEW |