test("css(String, Object)", function() { expect(7); 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', 'left'); ok( $('#floatTest').css('styleFloat') == 'left', 'Modified CSS float using "styleFloat": Assert float is left'); $('#floatTest').css('cssFloat', 'right'); ok( $('#floatTest').css('cssFloat') == 'right', 'Modified CSS float using "cssFloat": Assert float is right'); $('#floatTest').css('float', 'left'); ok( $('#floatTest').css('float') == 'left', 'Modified CSS float using "float": Assert float is left'); $('#floatTest').css('font-size', '20px'); ok( $('#floatTest').css('font-size') == '20px', 'Modified CSS font-size: Assert font-size is 20px'); }); 
$.get('data/dashboard.xml', function(xml) { var titles = []; $('tab', xml).each(function() { titles.push($(this).attr('title')); }); ok( titles[0] == 'Location', 'attr() in XML context: Check first title' ); ok( titles[1] == 'Users', 'attr() in XML context: Check second title' ); start(); }); 
test("css(String, Object)", function() {	expect(7);	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', 'left');	ok( $('#floatTest').css('styleFloat') == 'left', 'Modified CSS float using "styleFloat": Assert float is left');	$('#floatTest').css('cssFloat', 'right');	ok( $('#floatTest').css('cssFloat') == 'right', 'Modified CSS float using "cssFloat": Assert float is right');	$('#floatTest').css('float', 'left');	ok( $('#floatTest').css('float') == 'left', 'Modified CSS float using "float": Assert float is left');	$('#floatTest').css('font-size', '20px');	ok( $('#floatTest').css('font-size') == '20px', 'Modified CSS font-size: Assert font-size is 20px');});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/7d0a84193f539d85267d1458aba35a42d7dbd03b/coreTest.js/buggy/src/jquery/coreTest.js