File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ test("XSS via location.hash", function() {
509509 delete jQuery . _check9521 ;
510510 } ;
511511
512- var $eCheck9521 = jQuery ( '#<img id="check9521" src="no-such-.gif" onerror="jQuery._check9521(false)"> ' ) ;
512+ var $eCheck9521 = jQuery ( '#<img id="check9521" src="no-such-.gif" onerror="jQuery._check9521(false)"' ) ;
513513
514514 if ( $eCheck9521 . length ) {
515515 $eCheck9521 . appendTo ( "#main" ) ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ test("css(String|Hash)", function() {
2323 equals ( div . css ( "width" ) , "4px" , "Width on disconnected node." ) ;
2424 equals ( div . css ( "height" ) , "4px" , "Height on disconnected node." ) ;
2525
26- var div2 = jQuery ( "<div style='display:none;'><input type='text' style='height:20px;'/><textarea style='height:20px;'/ ><div style='height:20px;'></div></div>" ) . appendTo ( "body" ) ;
26+ var div2 = jQuery ( "<div style='display:none;'><input type='text' style='height:20px;'/><textarea style='height:20px;'></textarea ><div style='height:20px;'></div></div>" ) . appendTo ( "body" ) ;
2727
2828 equals ( div2 . find ( "input" ) . css ( "height" ) , "20px" , "Height on hidden input." ) ;
2929 equals ( div2 . find ( "textarea" ) . css ( "height" ) , "20px" , "Height on hidden textarea." ) ;
Original file line number Diff line number Diff line change @@ -904,7 +904,7 @@ var testHtml = function(valueObj) {
904904 }
905905 ok ( pass , "Set HTML" ) ;
906906
907- div = jQuery ( "<div/ >" ) . html ( valueObj ( ' <div id=" parent_1" ><div id=" child_1"/ ></div><div id=" parent_2"/>' ) ) ;
907+ div = jQuery ( "<div>" ) . html ( valueObj ( " <div id=' parent_1' ><div id=' child_1'></div ></div><div id=' parent_2'></div>" ) ) ;
908908
909909 equals ( div . children ( ) . length , 2 , "Make sure two child nodes exist." ) ;
910910 equals ( div . children ( ) . children ( ) . length , 1 , "Make sure that a grandchild exists." ) ;
You can’t perform that action at this time.
0 commit comments