I am trying to figure out the way to track the lineage of HTML elements (an
<img> element, say), through WebKit. For example, let's say we ask WebKit to
load page A, which then contains an iframe for page B, and the <img> element
is contained inside this page B. Then I want to record this lineage
(A->B-><img>).

Any recommendations for doing this quickly?

I can see parent-child pointers in the DOM data structures and that's what I
plan to piggy-back on, in the absence of expert opinions.

Thanks!
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to