MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Configuring exact viewport size
Current time: 02-26-2021, 08:11 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Configuring exact viewport size
01-14-2015, 06:52 AM
Post: #1
Configuring exact viewport size
Hi,

I was wondering if it is possible to configure an exact pixel value for the width and height of the viewport when testing in Chrome. It appears that when configuring the test parameters, there is an option under the "Chrome" tag called "Command line".

I did some research as to what command line syntax could be used to adjust viewport/window size, and came across the following commands:

Code:
--app-shell-host-window-size=WxH

--ash-host-window-bounds=WxH

--content-shell-host-window-size=WxH

--window-size=W,H

I tried keeping it simple, and setting --window-size=1100,600, but it appears that the screenshot I get back does not match those dimensions. Also, the waterfall timeline indicates that creatives that should be rendered at those viewport dimensions are, in fact, not being requested or rendered.

Are there additional command lines (or am I using incorrect syntax?) that will achieve the desired results? Viewport width is the real concern here, so anything that can ensure a viewport width greater than 1050px would suffice. Height is more or less irrelevant outside of it being tall[/code] enough to provide a useful screenshot.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Configuring exact viewport size - bahamut - 01-14-2015 06:52 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)