code: function visible( element ) {
  	var visibility = element.css( "visibility" );
  	while ( visibility === "inherit" ) {
  		element = element.parent();
  		visibility = element.css( "visibility" );
  	}
  	return visibility !== "hidden";
  }
docs: Support: IE 8 only IE 8 doesn't resolve inherit to visible/hidden for computed values