36 | 36 | doc.body.clientHeight = 266px
37 | 37 | doc.body.offsetHeight = 1000px
38 | 38 | doc.body.scrollHeight = 1000px
39 |  | Original metrics restored correctly.
| 39 | Original metrics not restored.
| 40 | ==== Original ===
| 41 | Device:
| 42 | window.screenX = 0px
| 43 | window.screenY = 0px
| 44 | Viewport: = ?none
| 45 | @media orientation = landscape
| 46 | window.orientation
| 47 | @media resolution = 96dpi
| 48 | @media device-pixel-ratio = 1
| 49 | window.devicePixelRatio = 1
| 50 | Widths:
| 51 | @media device-width = 1024px
| 52 | screen.width = 1024px
| 53 | screen.availWidth = 1024px
| 54 | window.outerWidth = 800px
| 55 | window.innerWidth = 800px
| 56 | @media width = 800px
| 57 | doc.docElem.clientWidth = 785px
| 58 | doc.docElem.offsetWidth = 785px
| 59 | doc.docElem.scrollWidth = 785px
| 60 | doc.body.clientWidth = 785px
| 61 | doc.body.offsetWidth = 785px
| 62 | doc.body.scrollWidth = 785px
| 63 | Heights:
| 64 | @media device-height = 768px
| 65 | screen.height = 768px
| 66 | screen.availHeight = 681px
| 67 | window.outerHeight = 600px
| 68 | window.innerHeight = 600px
| 69 | @media height = 600px
| 70 | doc.docElem.clientHeight = 1000px
| 71 | doc.docElem.offsetHeight = 1000px
| 72 | doc.docElem.scrollHeight = 1000px
| 73 | doc.body.clientHeight = 600px
| 74 | doc.body.offsetHeight = 1000px
| 75 | doc.body.scrollHeight = 1000px
| 76 | ==== Restored ====
| 77 | Device:
| 78 | window.screenX = 0px
| 79 | window.screenY = 0px
| 80 | Viewport: = ?none
| 81 | @media orientation = landscape
| 82 | window.orientation
| 83 | @media resolution = 96dpi
| 84 | @media device-pixel-ratio = 1
| 85 | window.devicePixelRatio = 1
| 86 | Widths:
| 87 | @media device-width = 1024px
| 88 | screen.width = 1024px
| 89 | screen.availWidth = 1024px
| 90 | window.outerWidth = 0px
| 91 | window.innerWidth = 800px
| 92 | @media width = 800px
| 93 | doc.docElem.clientWidth = 785px
| 94 | doc.docElem.offsetWidth = 785px
| 95 | doc.docElem.scrollWidth = 785px
| 96 | doc.body.clientWidth = 785px
| 97 | doc.body.offsetWidth = 785px
| 98 | doc.body.scrollWidth = 785px
| 99 | Heights:
| 100 | @media device-height = 768px
| 101 | screen.height = 768px
| 102 | screen.availHeight = 681px
| 103 | window.outerHeight = 0px
| 104 | window.innerHeight = 600px
| 105 | @media height = 600px
| 106 | doc.docElem.clientHeight = 1000px
| 107 | doc.docElem.offsetHeight = 1000px
| 108 | doc.docElem.scrollHeight = 1000px
| 109 | doc.body.clientHeight = 600px
| 110 | doc.body.offsetHeight = 1000px
| 111 | doc.body.scrollHeight = 1000px
40 | 112 |