@@ -34,7 +34,7 @@ function assert(noForm, form1, form2) {
34
34
}
35
35
36
36
test ( "radio groups" , function ( ) {
37
- $ ( ": radio" ) . button ( ) ;
37
+ $ ( "input[type= radio] " ) . button ( ) ;
38
38
assert ( ":eq(0)" , ":eq(1)" , ":eq(2)" ) ;
39
39
40
40
// click outside of forms
@@ -61,7 +61,7 @@ test("buttonset", function() {
61
61
var set = $ ( "#radio1" ) . buttonset ( ) ;
62
62
ok ( set . is ( ".ui-buttonset" ) ) ;
63
63
deepEqual ( set . children ( ".ui-button" ) . length , 3 ) ;
64
- deepEqual ( set . children ( "input: radio.ui-helper-hidden-accessible" ) . length , 3 ) ;
64
+ deepEqual ( set . children ( "input[type= radio] .ui-helper-hidden-accessible" ) . length , 3 ) ;
65
65
ok ( set . children ( "label:eq(0)" ) . is ( ".ui-button.ui-corner-left:not(.ui-corner-all)" ) ) ;
66
66
ok ( set . children ( "label:eq(1)" ) . is ( ".ui-button:not(.ui-corner-all)" ) ) ;
67
67
ok ( set . children ( "label:eq(2)" ) . is ( ".ui-button.ui-corner-right:not(.ui-corner-all)" ) ) ;
@@ -76,7 +76,7 @@ test("buttonset (rtl)", function() {
76
76
set = $ ( "#radio1" ) . buttonset ( ) ;
77
77
ok ( set . is ( ".ui-buttonset" ) ) ;
78
78
deepEqual ( set . children ( ".ui-button" ) . length , 3 ) ;
79
- deepEqual ( set . children ( "input: radio.ui-helper-hidden-accessible" ) . length , 3 ) ;
79
+ deepEqual ( set . children ( "input[type= radio] .ui-helper-hidden-accessible" ) . length , 3 ) ;
80
80
ok ( set . children ( "label:eq(0)" ) . is ( ".ui-button.ui-corner-right:not(.ui-corner-all)" ) ) ;
81
81
ok ( set . children ( "label:eq(1)" ) . is ( ".ui-button:not(.ui-corner-all)" ) ) ;
82
82
ok ( set . children ( "label:eq(2)" ) . is ( ".ui-button.ui-corner-left:not(.ui-corner-all)" ) ) ;
0 commit comments