rem: if (window.ie && !$chk(parseInt(style))){ if (['height', 'width'].contains(property)){ var values = (property == 'width') ? ['left', 'right'] : ['top', 'bottom']; var size = 0; values.each(function(value){ size += this.getStyle('border-' + value + '-width').toInt() + this.getStyle('padding-' + value).toInt(); }, this); return this['offset' + property.capitalize()] - size + 'px'; } else if (property.test(/border(.+)width/i)){ return 0 + 'px'; } } return (style && property.test(/color/i) && style.contains('rgb')) ? style.rgbToHex() : style; 
add: if (window.ie) result = Element.fixStyle(property, result, this); return (result && property.test(/color/i) && result.contains('rgb')) ? result.rgbToHex() : result; 
context: 	getStyle: function(property){		property = property.camelCase();		var style = this.style[property];		if (!$chk(style)){			if (property == 'opacity') return this.$.opacity;			var dirs = ['top', 'right', 'bottom', 'left'];			var result = [];			if (['margin', 'padding'].contains(property)){				dirs.each(function(dir){					result.push(this.getStyle(property + '-' + dir));				}, this);			} else if (property.contains('border')){				var matches = property.hyphenate().split('-');				matches = matches.remove(matches[0]);				var recurse = function(el, property){					var temp = [];					['width', 'style', 'color'].each(function(prop, i){						temp.push(el.getStyle(property + '-' + prop));					});					return temp;				};				if (!matches[0]){					dirs.each(function(dir){						result.push(recurse(this, property + '-' + dir));					}, this);				} else if (!matches[1]){					result = recurse(this, property);				}			}			if (result.length){				var every = result.every(function(val){					return val.toString() == result[0].toString();				});				if (!every && property == 'border') return false;				if (every) result = result[0];				return result.toString().replace(/,/g, ' ');			}			if (document.defaultView) style = document.defaultView.getComputedStyle(this, null).getPropertyValue(property.hyphenate());			else if (this.currentStyle) style = this.currentStyle[property];		}		if (window.ie && !$chk(parseInt(style))){			if (['height', 'width'].contains(property)){				var values = (property == 'width') ? ['left', 'right'] : ['top', 'bottom'];				var size = 0;				values.each(function(value){					size += this.getStyle('border-' + value + '-width').toInt() + this.getStyle('padding-' + value).toInt();				}, this);				return this['offset' + property.capitalize()] - size + 'px';			} else if (property.test(/border(.+)width/i)){				return 0 + 'px';			}		}		return (style && property.test(/color/i) && style.contains('rgb')) ? style.rgbToHex() : style;	},
meta: 9980	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9980/83dc1e025efaf0b5cada0190a0720e7d87f94595/Element.js/buggy/Native/Element.js