[webkit-dev] Need help in understanding web kit

ying lcs yinglcs at gmail.com
Tue Dec 9 22:35:30 PST 2008


On Wed, Dec 10, 2008 at 12:22 AM, Dan Bernstein <mitz at apple.com> 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?


More information about the webkit-dev mailing list