OLD | NEW |
1 Tests that device emulation affects media rules, viewport meta tag, body dimensi
ons and window.screen. Emulating small device on a page without viewport set sho
uld take UA viewport settings into account. | |
2 | 1 |
3 Page reloaded. | 2 Tests that device emulation affects media rules, viewport meta tag, body dim
ensions and window.screen. |
4 Emulating device: 380x420x1 viewport='none' | 3 Emulating small device on a page without viewport set should take UA viewpor
t settings into account. |
| 4 |
| 5 Emulating device: 380x420x1 |
| 6 Loading page with viewport=none |
5 Device: | 7 Device: |
6 window.screenX = 0px | 8 window.screenX = 0px |
7 window.screenY = 0px | 9 window.screenY = 0px |
8 Viewport: = ?none | 10 Viewport: = ?none |
9 @media orientation = portrait | 11 @media orientation = portrait |
10 window.orientation | 12 window.orientation |
11 @media resolution = 96dpi | 13 @media resolution = 96dpi |
12 @media device-pixel-ratio = 1 | 14 @media device-pixel-ratio = 1 |
13 window.devicePixelRatio = 1 | 15 window.devicePixelRatio = 1 |
14 Widths: | 16 Widths: |
(...skipping 16 matching lines...) Expand all Loading... |
31 window.outerHeight = 420px | 33 window.outerHeight = 420px |
32 window.innerHeight = 1084px | 34 window.innerHeight = 1084px |
33 @media height = 1083px | 35 @media height = 1083px |
34 doc.docElem.clientHeight = 1083px | 36 doc.docElem.clientHeight = 1083px |
35 doc.docElem.offsetHeight = 1083px | 37 doc.docElem.offsetHeight = 1083px |
36 doc.docElem.scrollHeight = 1083px | 38 doc.docElem.scrollHeight = 1083px |
37 doc.body.clientHeight = 1083px | 39 doc.body.clientHeight = 1083px |
38 doc.body.offsetHeight = 1083px | 40 doc.body.offsetHeight = 1083px |
39 doc.body.scrollHeight = 1083px | 41 doc.body.scrollHeight = 1083px |
40 | 42 |
41 | |
OLD | NEW |