| 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. | 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 | 2 |
| 3 Page reloaded. | 3 Page reloaded. |
| 4 Emulating device: 380x420x1 viewport='none' | 4 Emulating device: 380x420x1 viewport='none' |
| 5 Device: | 5 Device: |
| 6 window.screenX = 0px | 6 window.screenX = 0px |
| 7 window.screenY = 0px | 7 window.screenY = 0px |
| 8 Viewport: = ?none | 8 Viewport: = ?none |
| 9 @media orientation = portrait | 9 @media orientation = portrait |
| 10 window.orientation | 10 window.orientation = 0 |
| 11 @media resolution = 96dpi | 11 @media resolution = 96dpi |
| 12 @media device-pixel-ratio = 1 | 12 @media device-pixel-ratio = 1 |
| 13 window.devicePixelRatio = 1 | 13 window.devicePixelRatio = 1 |
| 14 Widths: | 14 Widths: |
| 15 @media device-width = 380px | 15 @media device-width = 380px |
| 16 screen.width = 380px | 16 screen.width = 380px |
| 17 screen.availWidth = 380px | 17 screen.availWidth = 380px |
| 18 window.outerWidth = 380px | 18 window.outerWidth = 380px |
| 19 window.innerWidth = 980px | 19 window.innerWidth = 980px |
| 20 @media width = 980px | 20 @media width = 980px |
| (...skipping 11 matching lines...) Expand all Loading... |
| 32 window.innerHeight = 1084px | 32 window.innerHeight = 1084px |
| 33 @media height = 1083px | 33 @media height = 1083px |
| 34 doc.docElem.clientHeight = 1083px | 34 doc.docElem.clientHeight = 1083px |
| 35 doc.docElem.offsetHeight = 1083px | 35 doc.docElem.offsetHeight = 1083px |
| 36 doc.docElem.scrollHeight = 1083px | 36 doc.docElem.scrollHeight = 1083px |
| 37 doc.body.clientHeight = 1083px | 37 doc.body.clientHeight = 1083px |
| 38 doc.body.offsetHeight = 1083px | 38 doc.body.offsetHeight = 1083px |
| 39 doc.body.scrollHeight = 1083px | 39 doc.body.scrollHeight = 1083px |
| 40 | 40 |
| 41 | 41 |
| OLD | NEW |