test("jQuery.css(elem, 'height') doesn't clear radio buttons (bug #1095)", function () { expect(4);  var $checkedtest = $("#checkedtest");  jQuery.css($checkedtest[0], "height"); ok( !! $(":radio:first", $checkedtest).attr("checked"), "Check first radio still checked." ); ok( ! $(":radio:last", $checkedtest).attr("checked"), "Check last radio still NOT checked." ); ok( !! $(":checkbox:first", $checkedtest).attr("checked"), "Check first checkbox still checked." ); ok( ! $(":checkbox:last", $checkedtest).attr("checked"), "Check last checkbox still NOT checked." ); }); 
$.each("0,0.25,0.5,0.75,1".split(','), function(i, n) { $('#foo').css('opacity', n); ok( $('#foo').css('opacity') == parseFloat(n), "Assert opacity is " + parseFloat(n) + " as a String" ); $('#foo').css('opacity', parseFloat(n)); ok( $('#foo').css('opacity') == parseFloat(n), "Assert opacity is " + parseFloat(n) + " as a Number" ); }); 
test("jQuery.css(elem, 'height') doesn't clear radio buttons (bug #1095)", function () {	expect(4);	var $checkedtest = $("#checkedtest");	// IE6 was clearing "checked" in jQuery.css(elem, "height");	jQuery.css($checkedtest[0], "height");	ok( !! $(":radio:first", $checkedtest).attr("checked"), "Check first radio still checked." );	ok( ! $(":radio:last", $checkedtest).attr("checked"), "Check last radio still NOT checked." );	ok( !! $(":checkbox:first", $checkedtest).attr("checked"), "Check first checkbox still checked." );	ok( ! $(":checkbox:last", $checkedtest).attr("checked"), "Check last checkbox still NOT checked." );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/76e3a901530609d3c4a695ccb8a48251445c6861/core.js/clean/test/unit/core.js