+
+ var $div = jQuery('#nothiddendivchild');
+ $div.css({ fontSize: 0, lineHeight: 0 });// IE also needs to set font-size and line-height to 0
+ $div.width(0).height(0);
+ t( "Is Hidden", '#nothiddendivchild:hidden', ['nothiddendivchild'] );
+ t( "Is Not Hidden", '#nothiddendivchild:visible', [] );
+ $div.width(1).height(0);
+ t( "Is Visible", '#nothiddendivchild:visible', ['nothiddendivchild'] );
+ t( "Is Not Visible", '#nothiddendivchild:hidden', [] );
+ $div.width(0).height(1);
+ t( "Is Visible", '#nothiddendivchild:visible', ['nothiddendivchild'] );
+ t( "Is Not Visible", '#nothiddendivchild:hidden', [] );
+ $div.width(1).height(1);
+ t( "Is Visible", '#nothiddendivchild:visible', ['nothiddendivchild'] );
+ t( "Is Not Visible", '#nothiddendivchild:hidden', [] );
+ $div.width('').height('').css({ fontSize: '', lineHeight: '' });