mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
Resolve a763ae72
test failures
This commit is contained in:
parent
a763ae7277
commit
30e2ffbeb8
@ -475,10 +475,7 @@ var testAppend = function( valueObj ) {
|
|||||||
d.remove();
|
d.remove();
|
||||||
equal( jQuery("#nonnodes").contents().length, 3, "Check node,textnode,comment append cleanup worked" );
|
equal( jQuery("#nonnodes").contents().length, 3, "Check node,textnode,comment append cleanup worked" );
|
||||||
|
|
||||||
$input = jQuery("<input />").attr({
|
$input = jQuery("<input type='checkbox'/>").prop( "checked", true ).appendTo("#testForm");
|
||||||
"type": "checkbox",
|
|
||||||
"checked": true
|
|
||||||
}).appendTo("#testForm");
|
|
||||||
equal( $input[ 0 ].checked, true, "A checked checkbox that is appended stays checked" );
|
equal( $input[ 0 ].checked, true, "A checked checkbox that is appended stays checked" );
|
||||||
|
|
||||||
$radioChecked = jQuery("input:radio[name='R1']").eq( 1 );
|
$radioChecked = jQuery("input:radio[name='R1']").eq( 1 );
|
||||||
|
Loading…
Reference in New Issue
Block a user