Hi, I'd like to find out if a DOM node is visible on the rendered page. I'm using FF-2 C++ API. Today I'm getting the nsIFrame* for the node and checking whether the width and the height of the frame are non-zero. Another check is the mDisplay member of nsStyleDisplay struct. The thing is that these checks not always work. Am I missing something ?
Also, there are cases where an invisible node contains visible nodes in it's subtree. In other cases the whole subtree of a invisible node is invisible as well. How can I be sure that the whole subtree of a node is invisible ? Thanks, Michael. _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
