[webkit-dev] About Word wrap in DumpRendertree

Dan Bernstein mitz at apple.com
Tue Jul 7 00:23:39 PDT 2009

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.

More information about the webkit-dev mailing list