Index: LayoutTests/inspector/device-emulation/device-emulation-small-dw-expected.txt |
diff --git a/LayoutTests/inspector/device-emulation/device-emulation-small-expected.txt b/LayoutTests/inspector/device-emulation/device-emulation-small-dw-expected.txt |
similarity index 51% |
copy from LayoutTests/inspector/device-emulation/device-emulation-small-expected.txt |
copy to LayoutTests/inspector/device-emulation/device-emulation-small-dw-expected.txt |
index 8458a72ac5c411a9491b094443aeb4ddf221e0dd..8ba62c0b49c60241e06224101dc51573bb9fc01a 100644 |
--- a/LayoutTests/inspector/device-emulation/device-emulation-small-expected.txt |
+++ b/LayoutTests/inspector/device-emulation/device-emulation-small-dw-expected.txt |
@@ -1,12 +1,12 @@ |
-Tests that device emulation affects media rules, viewport meta tag, body dimensions and window.screen. Emulating small device on a page without viewport set should take UA viewport settings into account. |
+Tests that device emulation affects media rules, viewport meta tag, body dimensions and window.screen. Emulating small device on a page with viewport "width=device-width" set should work without reload for page without scrollbar. |
Page reloaded. |
-Emulating device: 380x420x1 viewport='none' |
+Emulating device: 380x420x1 viewport='w=dw' |
Emulation warning: You might need to reload the page for proper user agent spoofing and viewport rendering. |
Device: |
window.screenX = 0px |
window.screenY = 0px |
-Viewport: = ?none |
+Viewport: = ?w=dw |
@media orientation = portrait |
window.orientation |
@media resolution = 96dpi |
@@ -17,26 +17,26 @@ Widths: |
screen.width = 380px |
screen.availWidth = 380px |
window.outerWidth = 380px |
-window.innerWidth = 980px |
-@media width = 980px |
-doc.docElem.clientWidth = 980px |
-doc.docElem.offsetWidth = 980px |
-doc.docElem.scrollWidth = 980px |
-doc.body.clientWidth = 980px |
-doc.body.offsetWidth = 980px |
-doc.body.scrollWidth = 980px |
+window.innerWidth = 380px |
+@media width = 380px |
+doc.docElem.clientWidth = 380px |
+doc.docElem.offsetWidth = 380px |
+doc.docElem.scrollWidth = 380px |
+doc.body.clientWidth = 380px |
+doc.body.offsetWidth = 380px |
+doc.body.scrollWidth = 380px |
Heights: |
@media device-height = 420px |
screen.height = 420px |
screen.availHeight = 420px |
window.outerHeight = 420px |
-window.innerHeight = 1084px |
-@media height = 1083px |
-doc.docElem.clientHeight = 1083px |
-doc.docElem.offsetHeight = 1083px |
-doc.docElem.scrollHeight = 1083px |
-doc.body.clientHeight = 1083px |
-doc.body.offsetHeight = 1083px |
-doc.body.scrollHeight = 1083px |
+window.innerHeight = 420px |
+@media height = 420px |
+doc.docElem.clientHeight = 420px |
+doc.docElem.offsetHeight = 420px |
+doc.docElem.scrollHeight = 420px |
+doc.body.clientHeight = 420px |
+doc.body.offsetHeight = 420px |
+doc.body.scrollHeight = 420px |