On Wed, Dec 10, 2008 at 12:22 AM, Dan Bernstein <[EMAIL PROTECTED]> wrote:
>
> On Dec 9, 2008, at 10:19 PM, ying lcs wrote:
>
>> Hi,
>>
>> Can you please point me to the part of Webkit rendering code where it
>> does text wrapping?
>> for example , how does it determine when to break a paragraph into
>> multiple lines of text?
>>
>> Thank you.
>
> Line layout is implemented in WebCore/rendering/bidi.cpp. The method
> RenderBlock::findNextLineBreak() advances through the render tree, measuring
> text runs as necessary, and returns the line break position.
>

Thank you.  I have another question:  Does Webkit has page zoom in /
out feature? The andriod 's Web kit has such feature. Can you please
tell me where in the code which implement that functionality?
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to