blob: 62484f001805283035692c88541c15a19539e165 [file] [log] [blame]
Tests that device emulation affects media rules, viewport meta tag, body dimensions and window.screen.
Emulating device: 0x0x0
Loading page with viewport=w=980
Device:
window.screenX = 0px
window.screenY = 0px
Viewport: = ?w=980
@media orientation = landscape
window.orientation = 0
Widths:
doc.docElem.clientWidth = 980px
doc.docElem.offsetWidth = 980px
doc.docElem.scrollWidth = 980px
doc.body.offsetWidth = 980px
doc.body.scrollWidth = 980px
Heights:
doc.docElem.clientHeight = 1000px
doc.docElem.offsetHeight = 1000px
doc.docElem.scrollHeight = 1000px
doc.body.offsetHeight = 1000px
doc.body.scrollHeight = 1000px