[webkit-dev] About Word wrap in DumpRendertree

by bircovon 2009-07-07T07:05:22+00:00

I have this question about the output of Dumprendertree:-
If a simple html with a div with fixed width (300px or something) is given
as input to dumprendertree, the word wrap shown by the output of
dumprendertree differs from the word wrap observed when html is viewed in
the browser. I have attached an image illustrating the issue below.
http://www.nabble.com/file/p24368173/dumprendertree.jpg
Could someone please educate me why this might be happening.
Thanks,
Bir.
--
View this message in context: http://www.nabble.com/About-Word-wrap-in-DumpRendertree-tp24368173p24368173.html
Sent from the Webkit mailing list archive at Nabble.com.
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Re: [webkit-dev] About Word wrap in DumpRendertree

by Dan Bernsteinon 2009-07-07T07:23:42+00:00.

On Jul 7, 2009, at 12:05 AM, bircov wrote:
>
> I have this question about the output of Dumprendertree:-
>
> If a simple html with a div with fixed width (300px or something) is
> given
> as input to dumprendertree, the word wrap shown by the output of
> dumprendertree differs from the word wrap observed when html is
> viewed in
> the browser. I have attached an image illustrating the issue below.
> http://www.nabble.com/file/p24368173/dumprendertree.jpg
>
> Could someone please educate me why this might be happening.
>
> Thanks,
> Bir.
This can be the result of DumpRenderTree and the browser using
different fonts, which have different horizontal metrics.
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev