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.zh...@gmail.com>
To: webkit-dev@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
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to