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

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: Rebase Created 3 years, 4 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 1
2 Tests that device emulation affects media rules, viewport meta tag, body dim ensions and window.screen. 2 Tests that device emulation affects media rules, viewport meta tag, body dim ensions and window.screen.
3 Emulating small device on a page with viewport "width=device-width" set shou ld work without reload for page without scrollbar. 3 Emulating small device on a page with viewport "width=device-width" set shou ld work without reload for page without scrollbar.
4 4
5 Emulating device: 380x420x1 5 Emulating device: 380x420x1
6 Loading page with viewport=w=dw 6 Loading page with viewport=w=dw
7 Device: 7 Device:
8 window.screenX = 0px 8 window.screenX = 0px
9 window.screenY = 0px 9 window.screenY = 0px
10 Viewport: = ?w=dw 10 Viewport: = ?w=dw
11 @media orientation = portrait 11 @media orientation = portrait
12 window.orientation 12 window.orientation = 0
13 @media resolution = 96dpi 13 @media resolution = 96dpi
14 @media device-pixel-ratio = 1 14 @media device-pixel-ratio = 1
15 window.devicePixelRatio = 1 15 window.devicePixelRatio = 1
16 Widths: 16 Widths:
17 @media device-width = 380px 17 @media device-width = 380px
18 screen.width = 380px 18 screen.width = 380px
19 screen.availWidth = 380px 19 screen.availWidth = 380px
20 window.outerWidth = 380px 20 window.outerWidth = 380px
21 window.innerWidth = 380px 21 window.innerWidth = 380px
22 @media width = 380px 22 @media width = 380px
(...skipping 10 matching lines...) Expand all
33 window.outerHeight = 420px 33 window.outerHeight = 420px
34 window.innerHeight = 420px 34 window.innerHeight = 420px
35 @media height = 420px 35 @media height = 420px
36 doc.docElem.clientHeight = 420px 36 doc.docElem.clientHeight = 420px
37 doc.docElem.offsetHeight = 420px 37 doc.docElem.offsetHeight = 420px
38 doc.docElem.scrollHeight = 420px 38 doc.docElem.scrollHeight = 420px
39 doc.body.clientHeight = 420px 39 doc.body.clientHeight = 420px
40 doc.body.offsetHeight = 420px 40 doc.body.offsetHeight = 420px
41 doc.body.scrollHeight = 420px 41 doc.body.scrollHeight = 420px
42 42
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698