Michael R wrote:
> I'd like to find out if a DOM node is visible on the rendered page.

"Visible" in what sense?

In any case, there are no easy ways to do this, no matter what the definition 
is, in Gecko 1.8.

> The thing is that these checks not always work.
> Am I missing something ?

mVisibility, mOpacity, z-index, clipped overflow on the frame and all its 
ancestors all come to mind.  Depending on your definition of "visible", of 
course.

> Also, there are cases where an invisible node contains visible nodes in it's
> subtree.

Sure, depending on your definition of "visible".

> How can I be sure that the whole subtree of a node is invisible ?

Depends on your definition of "visible".

-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to