rem:  'should properly `setStyle` for a property with a dash in it': function() { value_of(new Element('div').setStyle('font-weight', 'bold').getStyle('font-weight')).should_be('bold'); }  });  describe('Element.getStyles', {  'should get multiple styles from an Element': function() { var el = new Element('div').set('html', '<div style="color:#0f0;font-weight:bold;margin:auto"></div>'); value_of(el.getElement('div').getStyle('color')).should_be('#00ff00'); }  }); 
context: 	'should `setStyle` on an Element': function() {		value_of(new Element('div').setStyle('color':'#00ff00').getStyle('color')).should_be('#00ff00');	},	'should properly `setStyle` for a property with a dash in it': function() {		value_of(new Element('div').setStyle('font-weight', 'bold').getStyle('font-weight')).should_be('bold');	}});describe('Element.getStyles', {	'should get multiple styles from an Element': function() {		var el = new Element('div').set('html', '<div style="color:#0f0;font-weight:bold;margin:auto"></div>');		value_of(el.getElement('div').getStyle('color')).should_be('#00ff00');	}});
meta: 5237	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5237/b1331e3df2c328e861441f46ff778840ed87a01b/Element.Style.js/buggy/Specs/Element/Element.Style.js