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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-980-only-viewport-expected.txt

Issue 1638953002: [DevTools] Migrate device-emulation tests from OverridesSupport to inspector-protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: 0x0x0 viewport='w=980' 4 Emulating device: 0x0x0 viewport='w=980'
5 Emulation warning: You might need to reload the page for proper user agent spoof ing and viewport rendering.
6 Device: 5 Device:
7 window.screenX = 0px 6 window.screenX = 0px
8 window.screenY = 0px 7 window.screenY = 0px
9 Viewport: = ?w=980 8 Viewport: = ?w=980
10 @media orientation = landscape 9 @media orientation = landscape
11 window.orientation 10 window.orientation
12 Widths: 11 Widths:
13 doc.docElem.clientWidth = 980px 12 doc.docElem.clientWidth = 980px
14 doc.docElem.offsetWidth = 980px 13 doc.docElem.offsetWidth = 980px
15 doc.docElem.scrollWidth = 980px 14 doc.docElem.scrollWidth = 980px
16 doc.body.offsetWidth = 980px 15 doc.body.offsetWidth = 980px
17 doc.body.scrollWidth = 980px 16 doc.body.scrollWidth = 980px
18 Heights: 17 Heights:
19 doc.docElem.clientHeight = 1000px 18 doc.docElem.clientHeight = 1000px
20 doc.docElem.offsetHeight = 1000px 19 doc.docElem.offsetHeight = 1000px
21 doc.docElem.scrollHeight = 1000px 20 doc.docElem.scrollHeight = 1000px
22 doc.body.offsetHeight = 1000px 21 doc.body.offsetHeight = 1000px
23 doc.body.scrollHeight = 1000px 22 doc.body.scrollHeight = 1000px
24 23
25 24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698