[webkit-help] Copy a DOM Tree?

黄 轶明 hoooooosety at gmail.com
Wed Mar 21 00:12:28 PDT 2012


hi,

I wanna know it there anyway to copy a DOM Tree?

After HTMLTreebuild build a dom tree, and in Document.cpp onLoadingFinished was called,
I can get the body Element by the function body(). Can I get a copy of it using some function like:

HTMLElement* deepcopy(HTMLElement* elem)

Thank u very much!

holsety huang


More information about the webkit-help mailing list