[webkit-help] Webkit - SVG calls through native code

Adam Roben aroben at apple.com
Wed Apr 20 11:35:54 PDT 2011


On Apr 20, 2011, at 2:32 PM, Ammar Ahmad Awan wrote:

> 1. I want to make a new Win32 project and add webkit related
> functionality to my project. How can I do that?

Tools/WinLauncher and Tools/MiniBrowser/win are fairly small projects that show how to use WebKit in a Windows application.

> 2. I want to know how is webkit handling SVG related rendering.
> 
> 3. If i point the MiniBrowser app to an svg file or link where e.g.
> circle.svg is located, it shows that in the webview. But I want to
> know how is webkit parsing this svg file. Any specific file where i
> can put some breakpoints to understand the parsing and traversal.

I'd start by looking in Source/WebCore/svg and Source/WebCore/rendering/svg. Set some breakpoints and see if you can get them to be hit when loading your file.

-Adam




More information about the webkit-help mailing list