[webkit-dev] where strore "html widget" name and id

David Kilzer ddkilzer at webkit.org
Tue Mar 17 06:09:37 PDT 2009


In WebCore/dom/Element.h, there is a member variable named 'nameAttrMap' that holds name/value pairs for the attributes of each element.

If you then look at WebCore/html/HTMLElement.cpp, you'll find an id() method that pulls the id out of the map, for example.

Dave




________________________________
From: zhenghe zhang <zhenghe.zhang at gmail.com>
To: webkit-dev at lists.webkit.org
Sent: Tuesday, March 17, 2009 3:39:48 AM
Subject: [webkit-dev] where strore  "html widget" name and id

 
Hi all
I am studying the webkit, now I have a problem, I hope you tell me!
thank you.
there are many html widget in the document, and now I want to konw where
 store the name and id of  html widget
thank you
zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090317/892518ab/attachment.html>


More information about the webkit-dev mailing list