Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-small-dw-expected.txt

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Support runtime feature on templates Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Tests that device emulation affects media rules, viewport meta tag, body dimensi ons and window.screen. Emulating small device on a page with viewport "width=dev ice-width" set should work without reload for page without scrollbar. 1 Tests that device emulation affects media rules, viewport meta tag, body dimensi ons and window.screen. Emulating small device on a page with viewport "width=dev ice-width" set should work without reload for page without scrollbar.
2 2
3 Page reloaded. 3 Page reloaded.
4 Emulating device: 380x420x1 viewport='w=dw' 4 Emulating device: 380x420x1 viewport='w=dw'
5 Device: 5 Device:
6 window.screenX = 0px 6 window.screenX = 0px
7 window.screenY = 0px 7 window.screenY = 0px
8 Viewport: = ?w=dw 8 Viewport: = ?w=dw
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 = 380px 19 window.innerWidth = 380px
20 @media width = 380px 20 @media width = 380px
(...skipping 11 matching lines...) Expand all
32 window.innerHeight = 420px 32 window.innerHeight = 420px
33 @media height = 420px 33 @media height = 420px
34 doc.docElem.clientHeight = 420px 34 doc.docElem.clientHeight = 420px
35 doc.docElem.offsetHeight = 420px 35 doc.docElem.offsetHeight = 420px
36 doc.docElem.scrollHeight = 420px 36 doc.docElem.scrollHeight = 420px
37 doc.body.clientHeight = 420px 37 doc.body.clientHeight = 420px
38 doc.body.offsetHeight = 420px 38 doc.body.offsetHeight = 420px
39 doc.body.scrollHeight = 420px 39 doc.body.scrollHeight = 420px
40 40
41 41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698