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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-none-2x-expected.txt

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Work for some comments Created 3 years, 7 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. 1 Tests that device emulation affects media rules, viewport meta tag, body dimensi ons and window.screen.
2 2
3 Page reloaded. 3 Page reloaded.
4 Emulating device: 1200x1000x2 viewport='none' 4 Emulating device: 1200x1000x2 viewport='none'
5 Device: 5 Device:
6 window.screenX = 0px 6 window.screenX = 0px
7 window.screenY = 0px 7 window.screenY = 0px
8 Viewport: = ?none 8 Viewport: = ?none
9 @media orientation = landscape 9 @media orientation = landscape
10 window.orientation 10 window.orientation = 0
haraken 2017/05/20 19:10:02 What does this change mean?
peria 2017/05/30 08:25:44 This is an effect of RuntimeEnabledFeature=Orienta
11 @media resolution = 192dpi 11 @media resolution = 192dpi
12 @media device-pixel-ratio = 2 12 @media device-pixel-ratio = 2
13 window.devicePixelRatio = 2 13 window.devicePixelRatio = 2
14 Widths: 14 Widths:
15 @media device-width = 1200px 15 @media device-width = 1200px
16 screen.width = 1200px 16 screen.width = 1200px
17 screen.availWidth = 1200px 17 screen.availWidth = 1200px
18 window.outerWidth = 1200px 18 window.outerWidth = 1200px
19 window.innerWidth = 1200px 19 window.innerWidth = 1200px
20 @media width = 1200px 20 @media width = 1200px
(...skipping 11 matching lines...) Expand all
32 window.innerHeight = 1000px 32 window.innerHeight = 1000px
33 @media height = 1000px 33 @media height = 1000px
34 doc.docElem.clientHeight = 1000px 34 doc.docElem.clientHeight = 1000px
35 doc.docElem.offsetHeight = 1000px 35 doc.docElem.offsetHeight = 1000px
36 doc.docElem.scrollHeight = 1000px 36 doc.docElem.scrollHeight = 1000px
37 doc.body.clientHeight = 1000px 37 doc.body.clientHeight = 1000px
38 doc.body.offsetHeight = 1000px 38 doc.body.offsetHeight = 1000px
39 doc.body.scrollHeight = 1000px 39 doc.body.scrollHeight = 1000px
40 40
41 41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698