File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ test( "accessibility", function() {
34
34
equal ( element . attr ( "aria-describedby" ) , "fixture-span " + tooltipId ,
35
35
"multiple describedby when open" ) ;
36
36
// strictEqual to distinguish between .removeAttr( "title" ) and .attr( "title", "" )
37
- strictEqual ( element . attr ( "title" ) , undefined , "no title when open" ) ;
37
+ // TODO actually use strictEqual(..., undefined, msg) when dropping jQuery 1.6 support (or IE6/7)
38
+ ok ( ! element . attr ( "title" ) , "no title when open" ) ;
38
39
element . tooltip ( "close" ) ;
39
40
equal ( element . attr ( "aria-describedby" ) , "fixture-span" ,
40
41
"correct describedby when closed" ) ;
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ test( "enable/disable", function() {
42
42
43
43
element . tooltip ( "disable" ) ;
44
44
equal ( $ ( ".ui-tooltip" ) . length , 0 , "no tooltip when disabled" ) ;
45
- equal ( tooltip . attr ( "title" ) , undefined , "title removed on disable" ) ;
45
+ // TODO use equal(..., undefined, msg) when dropping jQuery 1.6 support (or IE6/7)
46
+ ok ( ! tooltip . attr ( "title" ) , "title removed on disable" ) ;
46
47
47
48
element . tooltip ( "open" ) ;
48
49
equal ( $ ( ".ui-tooltip" ) . length , 0 , "open does nothing when disabled" ) ;
You can’t perform that action at this time.
0 commit comments