rem: test("css(String|Hash)", function() { expect(8);  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'); }); 
add: $('tab', xml).each(function() { titles.push($(this).attr('title')); }); 
context: test("css(String|Hash)", function() {	expect(8);		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');});
meta: 1471	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1471/a5f9108a2109b2ed5778af860b0928d8e6b0fdd2/coreTest.js/clean/src/jquery/coreTest.js