rem: $.each("0,0.25,0.5,0.75,1".split(','), function(i, n) { 
add: test("css(String|Hash)", function() { expect(19);  ok( $('#main').css("display") == 'none', 'Check for css property "display"');  ok( $('#foo').is(':visible'), 'Modifying CSS display: Assert element is visible'); $('#foo').css({display: 'none'}); ok( !$('#foo').is(':visible'), 'Modified CSS display: Assert element is hidden'); $('#foo').css({display: 'block'}); ok( $('#foo').is(':visible'), 'Modified CSS display: Assert element is visible');  $('#floatTest').css({styleFloat: 'right'}); ok( $('#floatTest').css('styleFloat') == 'right', 'Modified CSS float using "styleFloat": Assert float is right'); $('#floatTest').css({cssFloat: 'left'}); ok( $('#floatTest').css('cssFloat') == 'left', 'Modified CSS float using "cssFloat": Assert float is left'); $('#floatTest').css({'float': 'right'}); ok( $('#floatTest').css('float') == 'right', 'Modified CSS float using "float": Assert float is right'); $('#floatTest').css({'font-size': '30px'}); ok( $('#floatTest').css('font-size') == '30px', 'Modified CSS font-size: Assert font-size is 30px');  $.each("0,0.25,0.5,0.75,1".split(','), function(i, n) { 
context: 	$.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" );	});	
meta: 1375	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1375/2ef4093cf7f52383dd43bd361864edcda27e5c3c/coreTest.js/buggy/src/jquery/coreTest.js