…reliably from C++? Some background: in bug 257061 I'm implementing to count and display the number of found items in the findbar. Gavin mentions in https://bugzilla.mozilla.org/show_bug.cgi?id=257061#c88 that there has to be some prior art related to checking if an element/ node is currently visible.
The question(s): How does one check if an element/ node is visible reliably? nsTypeAheadFind::IsRangeVisible() does this for ranges by traversing through layout frames and more; is there a similar method available for nodes? Or is a Javascript method still the best one? Local searches through the codebase and with MXR I couldn't find anything (I tried many variations!). Any help is very much appreciated! Thanks, Mike.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform