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

Mayur K eminemence at gmail.com
Fri Feb 24 11:02:00 PST 2012


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 <tony at 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 <eminemence at 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 at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>>
>>
>


-- 
Symbiangeek,Codekata & Webkitwiki all in one - http://flaminghorns.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120225/8a71238a/attachment.html>


More information about the webkit-dev mailing list