rem: return this.className.indexOf(className) !== -1; 
add: if (!className) return false;  if (this.className === className) return true; var regex = new RegExp("(^|\\s)" + className.escapeForRegExp() + "($|\\s)"); return regex.test(this.className); 
context: Element.prototype.hasStyleClass = function(className) {    return this.className.indexOf(className) !== -1;}
meta: 5650	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5650/45903d337dcded71d4a013a1780651555e989aab/utilities.js/clean/WebCore/page/inspector/utilities.js