aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/button
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-08-03 21:43:52 -0400
committerScott González <scott.gonzalez@gmail.com>2011-08-03 21:43:52 -0400
commit6fb68568bea4fcaf0caff77363819b3d7c732cd4 (patch)
tree9a869c658b574eda6668fce064ed02c7047c2000 /tests/unit/button
parentcff6b56fd429b0be2e1668a26b362775263f8925 (diff)
downloadjquery-ui-6fb68568bea4fcaf0caff77363819b3d7c732cd4.tar.gz
jquery-ui-6fb68568bea4fcaf0caff77363819b3d7c732cd4.zip
Tests: Cleanup.
Diffstat (limited to 'tests/unit/button')
-rw-r--r--tests/unit/button/button_tickets.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/button/button_tickets.js b/tests/unit/button/button_tickets.js
index 9a7ccae43..2912b06a3 100644
--- a/tests/unit/button/button_tickets.js
+++ b/tests/unit/button/button_tickets.js
@@ -29,23 +29,23 @@ test( "#6711 Checkbox/Radiobutton do not Show Focused State when using Keyboard
});
test( "#7092 - button creation that requires a matching label does not find label in all cases", function() {
- var group = $( "<span><label for='t7092a'/><input type='checkbox' id='t7092a'/></span>" );
+ var group = $( "<span><label for='t7092a'></label><input type='checkbox' id='t7092a'></span>" );
group.find( "input:checkbox" ).button();
ok( group.find( "label" ).is( ".ui-button" ) );
- group = $( "<input type='checkbox' id='t7092b'/><label for='t7092b'/>" );
+ group = $( "<input type='checkbox' id='t7092b'><label for='t7092b'></label>" );
group.filter( "input:checkbox" ).button();
ok( group.filter( "label" ).is( ".ui-button" ) );
- group = $( "<span><input type='checkbox' id='t7092c'/></span><label for='t7092c'/>" );
+ group = $( "<span><input type='checkbox' id='t7092c'></span><label for='t7092c'></label>" );
group.find( "input:checkbox" ).button();
ok( group.filter( "label" ).is( ".ui-button" ) );
- group = $( "<span><input type='checkbox' id='t7092d'/></span><span><label for='t7092d'/></span>" );
+ group = $( "<span><input type='checkbox' id='t7092d'></span><span><label for='t7092d'></label></span>" );
group.find( "input:checkbox" ).button();
ok( group.find( "label" ).is( ".ui-button" ) );
- group = $( "<input type='checkbox' id='t7092e'/><span><label for='t7092e'/></span>" );
+ group = $( "<input type='checkbox' id='t7092e'><span><label for='t7092e'></label></span>" );
group.filter( "input:checkbox" ).button();
ok( group.find( "label" ).is( ".ui-button" ) );
});