blob: 78a1df56553d3377c3594fb5054e45a4f8c9efc2 [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=320
Device:
window.screenX = 0px
window.screenY = 0px
Viewport: = ?w=320
@media orientation = landscape
window.orientation = 0
Widths:
doc.docElem.clientWidth = 320px
doc.docElem.offsetWidth = 320px
doc.docElem.scrollWidth = 320px
doc.body.offsetWidth = 320px
doc.body.scrollWidth = 320px
Heights:
doc.docElem.clientHeight = 1000px
doc.docElem.offsetHeight = 1000px
doc.docElem.scrollHeight = 1000px
doc.body.offsetHeight = 1000px
doc.body.scrollHeight = 1000px