[webkit-dev] About Word wrap in DumpRendertree

2009-07-07 Thread bircov

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

2009-07-07 Thread Dan Bernstein


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