rem: }  else if (cssRules[rule].styleSheet){ newCssArray = DynamicCSS.applyCSSRule(editor, i18n, cssRules[rule].styleSheet.cssRules, newCssArray); 
add: } else {  if (cssRules[rule].styleSheet) { newCssArray = DynamicCSS.applyCSSRule(editor, i18n, cssRules[rule].styleSheet.cssRules, newCssArray); }  if (cssRules[rule].cssRules) { newCssArray = DynamicCSS.applyCSSRule(editor, i18n, cssRules[rule].cssRules, newCssArray); } 
context: DynamicCSS.applyCSSRule=function(editor,i18n,cssRules,cssArray){	var cssElements = new Array(),		cssElement = new Array(),		newCssArray = new Object(),		classParts = new Array(),		tagName, className, rule, k,		obj = editor.config.customSelects["DynamicCSS-class"];	newCssArray = cssArray;	for (rule = 0; rule < cssRules.length; rule++) {			// StyleRule		if (cssRules[rule].selectorText) {			if (cssRules[rule].selectorText.search(/:+/) == -1) {					// split equal Styles e.g. head, body {border:0px}				cssElements = cssRules[rule].selectorText.split(",");				for (k = 0; k < cssElements.length; k++) {					cssElement = cssElements[k].split(".");					tagName = cssElement[0].toLowerCase().trim();					if (!tagName) tagName = "all";					className = cssElement[1];					if (className) {						classParts = className.trim().split(" ");						className = classParts[0];					}					if (!HTMLArea.reservedClassNames.test(className) && ((tagName == "all" && obj["showTagFreeClasses"] == true) || (tagName != "all" && (!obj["classesTag"] || !obj["classesTag"][tagName])) || (tagName != "all" && obj["classesTag"][tagName].indexOf(className) != -1)) ) {						if (!newCssArray[tagName]) newCssArray[tagName] = new Object();						if (className) {							cssName = className;							if (HTMLArea.classesLabels) cssName = HTMLArea.classesLabels[className] ? HTMLArea.classesLabels[className] : cssName ;							if (tagName != 'all') cssName = '<'+cssName+'>';						} else {							className='none';							if (tagName=='all') cssName=i18n["Default"];								else cssName='<'+i18n["Default"]+'>';						}						newCssArray[tagName][className]=cssName;					}				}			}		}			// ImportRule (Mozilla)		else if (cssRules[rule].styleSheet){			newCssArray = DynamicCSS.applyCSSRule(editor, i18n, cssRules[rule].styleSheet.cssRules, newCssArray);		}	}	return newCssArray;};
meta: 9100	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9100/3319f905db7ebf76580aec25f0029e314f9c049a/dynamiccss.js/buggy/typo3/sysext/rtehtmlarea/htmlarea/plugins/DynamicCSS/dynamiccss.js