DomNode node = this;
do {
final ScriptableObject scriptableObject = node.getScriptObject();
if (scriptableObject instanceof HTMLElement) {
final CSSStyleDeclaration style = ((HTMLElement) scriptableObject).jsxGet_currentStyle();
final String visibility = style.jsxGet_visibility();
if (visibility.length() > 0) {
if (visibility.equals("visible")) {
return true;
}
else if (visibility.equals("hidden") || (isNotIE && visibility.equals("collapse"))) {