[webkit-dev] How to specify the window size in DumpRenderTree?

2012-02-24 Thread Mayur K
Hi,
I want to specify the window size/view size in DumpRenderTree, so that
rendertree, can reflect the structure according to the new window size.
Is there an existing option/method to do so?
Thanks in advance.
--Mayur Kankanwadi.

-- 
Symbiangeek,Codekata  Webkitwiki all in one - http://flaminghorns.com
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How to specify the window size in DumpRenderTree?

2012-02-24 Thread Tony Chang
In your test case, you should be able to use window.resizeTo to change the
size of the window.

On Fri, Feb 24, 2012 at 5:01 AM, Mayur K emineme...@gmail.com wrote:

 Hi,
 I want to specify the window size/view size in DumpRenderTree, so that
 rendertree, can reflect the structure according to the new window size.
 Is there an existing option/method to do so?
 Thanks in advance.
 --Mayur Kankanwadi.

 --
 Symbiangeek,Codekata  Webkitwiki all in one - http://flaminghorns.com


 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How to specify the window size in DumpRenderTree?

2012-02-24 Thread Mayur K
Well, that would be too limiting.Passing the window size as a command line
option would be better, to get know the content behavior and would avoid
adding the resizeTo to every content. Also adding resizeTo would not be an
option to live content.
I tried playing around with the windows port of DumpRenderTree. But could
not figure out the way to provide the window size to affect the rendertree,
it was taking the default values of 800 X 600 always.
--Mayur.

On Sat, Feb 25, 2012 at 12:06 AM, Tony Chang t...@chromium.org wrote:

 In your test case, you should be able to use window.resizeTo to change the
 size of the window.

 On Fri, Feb 24, 2012 at 5:01 AM, Mayur K emineme...@gmail.com wrote:

 Hi,
 I want to specify the window size/view size in DumpRenderTree, so that
 rendertree, can reflect the structure according to the new window size.
 Is there an existing option/method to do so?
 Thanks in advance.
 --Mayur Kankanwadi.

 --
 Symbiangeek,Codekata  Webkitwiki all in one - http://flaminghorns.com


 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev





-- 
Symbiangeek,Codekata  Webkitwiki all in one - http://flaminghorns.com
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev