[webkit-dev] a question about node.h

Shi Yan billconan at gmail.com
Sat May 2 00:48:57 PDT 2009

hello guys,

i'm trying to modify the qt-webkit. i want to implement the a feature
such that given a node object, i can get the html element inside. i'm
developing under visual studio. i can see a member of the node class
named [webcore::element], when i debug my code in the visual studio
debuger. but if i open the node.h source code, i cannot see a
corresponding member defined in the class. this seems to be weird.

the node class is inherent from two other classes, public EventTarget
and public TreeShared<Node>. i also checked them, but didn't find the
member i want.

so, how can i get the inner element contained by a node? or did i
misunderstand something?

thank you.

More information about the webkit-dev mailing list