[webkit-dev] A question about JavaScript and Dom binding

Darin Adler darin at apple.com
Mon Mar 30 07:47:54 PDT 2009


On Mar 30, 2009, at 5:54 AM, naixuan guan wrote:

> 1.Could I get the string value of the SRC attribute through WebKit  
> source code and how to get the value?

One way is with the Element::getAttribute function.

> 2.How does JavaScript change the Dom tree? where are the APIs? are  
> they in binding/js directory?

Yes, that’s what’s in the bindings/js directory.

     -- Darin



More information about the webkit-dev mailing list