[webkit-dev] Tracking "lineage" of an HTML element in WebKit
shariq at rizvi.org
Tue Dec 2 17:12:47 PST 2008
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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev