OLD | NEW |
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: 0x0x0 viewport='w=320' | 4 Emulating device: 0x0x0 viewport='w=320' |
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 = 0px | 6 window.screenX = 0px |
8 window.screenY = 0px | 7 window.screenY = 0px |
9 Viewport: = ?w=320 | 8 Viewport: = ?w=320 |
10 @media orientation = landscape | 9 @media orientation = landscape |
11 window.orientation | 10 window.orientation |
12 Widths: | 11 Widths: |
13 doc.docElem.clientWidth = 320px | 12 doc.docElem.clientWidth = 320px |
14 doc.docElem.offsetWidth = 320px | 13 doc.docElem.offsetWidth = 320px |
15 doc.docElem.scrollWidth = 320px | 14 doc.docElem.scrollWidth = 320px |
16 doc.body.offsetWidth = 320px | 15 doc.body.offsetWidth = 320px |
17 doc.body.scrollWidth = 320px | 16 doc.body.scrollWidth = 320px |
18 Heights: | 17 Heights: |
19 doc.docElem.clientHeight = 1000px | 18 doc.docElem.clientHeight = 1000px |
20 doc.docElem.offsetHeight = 1000px | 19 doc.docElem.offsetHeight = 1000px |
21 doc.docElem.scrollHeight = 1000px | 20 doc.docElem.scrollHeight = 1000px |
22 doc.body.offsetHeight = 1000px | 21 doc.body.offsetHeight = 1000px |
23 doc.body.scrollHeight = 1000px | 22 doc.body.scrollHeight = 1000px |
24 | 23 |
25 | 24 |
OLD | NEW |