File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -642,11 +642,11 @@ test("css(String|Hash)", function() {
642
642
643
643
test ( "css(String, Object)" , function ( ) {
644
644
expect ( 21 ) ;
645
- ok ( jQuery ( '#foo ' ) . is ( ':visible' ) , 'Modifying CSS display: Assert element is visible' ) ;
646
- jQuery ( '#foo ' ) . css ( ' display' , 'none' ) ;
647
- ok ( ! jQuery ( '#foo ' ) . is ( ':visible' ) , 'Modified CSS display: Assert element is hidden' ) ;
648
- jQuery ( '#foo ' ) . css ( ' display' , 'block' ) ;
649
- ok ( jQuery ( '#foo ' ) . is ( ':visible' ) , 'Modified CSS display: Assert element is visible' ) ;
645
+ ok ( jQuery ( '#nothiddendiv ' ) . is ( ':visible' ) , 'Modifying CSS display: Assert element is visible' ) ;
646
+ jQuery ( '#nothiddendiv ' ) . css ( " display" , 'none' ) ;
647
+ ok ( ! jQuery ( '#nothiddendiv ' ) . is ( ':visible' ) , 'Modified CSS display: Assert element is hidden' ) ;
648
+ jQuery ( '#nothiddendiv ' ) . css ( " display" , 'block' ) ;
649
+ ok ( jQuery ( '#nothiddendiv ' ) . is ( ':visible' ) , 'Modified CSS display: Assert element is visible' ) ;
650
650
651
651
jQuery ( '#floatTest' ) . css ( 'styleFloat' , 'left' ) ;
652
652
equals ( jQuery ( '#floatTest' ) . css ( 'styleFloat' ) , 'left' , 'Modified CSS float using "styleFloat": Assert float is left' ) ;
You can’t perform that action at this time.
0 commit comments