rem: var style = element.style; for (var i in params) { var val = params[i]; switch (i) { case "f_st_backgroundColor": style.backgroundColor = val; break; case "f_st_color": style.color = val; break; case "f_st_backgroundImage": if (/\S/.test(val)) { style.backgroundImage = "url(" + val + ")"; } else { style.backgroundImage = "none"; } break; case "f_st_borderWidth": style.borderWidth = val; break; case "f_st_borderStyle": style.borderStyle = val; break; case "f_st_borderColor": style.borderColor = val; break; case "f_st_borderCollapse": style.borderCollapse = val ? "collapse" : ""; break; case "f_st_width": if (/\S/.test(val)) { style.width = val + params["f_st_widthUnit"]; } else { style.width = ""; } break; case "f_st_height": if (/\S/.test(val)) { style.height = val + params["f_st_heightUnit"]; } else { style.height = ""; } break; case "f_st_textAlign": if (val == "char") { var ch = params["f_st_textAlignChar"]; if (ch == '"') { ch = '\\"'; } style.textAlign = '"' + ch + '"'; } else { style.textAlign = val; } break; case "f_st_verticalAlign": style.verticalAlign = val; break; case "f_st_float": style.cssFloat = val; break;       } } 
add: var style = element.style; for (var i in params) { var val = params[i]; switch (i) { case "f_st_backgroundColor": style.backgroundColor = val; break; case "f_st_color": style.color = val; break; case "f_st_backgroundImage": if (/\S/.test(val)) { style.backgroundImage = "url(" + val + ")"; } else { style.backgroundImage = "none"; } break; case "f_st_borderWidth": style.borderWidth = val; break; case "f_st_borderStyle": style.borderStyle = val; break; case "f_st_borderColor": style.borderColor = val; break; case "f_st_borderCollapse": style.borderCollapse = val ? "collapse" : ""; break; case "f_st_width": if (/\S/.test(val)) { style.width = val + params["f_st_widthUnit"]; } else { style.width = ""; } break; case "f_st_height": if (/\S/.test(val)) { style.height = val + params["f_st_heightUnit"]; } else { style.height = ""; } break; case "f_st_textAlign": if (val == "char") { var ch = params["f_st_textAlignChar"]; if (ch == '"') { ch = '\\"'; } style.textAlign = '"' + ch + '"'; } else { style.textAlign = val; } break; case "f_st_verticalAlign": style.verticalAlign = val; break; case "f_st_float": style.cssFloat = val; break;       } } 
context: TableOperations.processStyle = function(params, element) {	var style = element.style;	for (var i in params) {		var val = params[i];		switch (i) {		    case "f_st_backgroundColor":			style.backgroundColor = val;			break;		    case "f_st_color":			style.color = val;			break;		    case "f_st_backgroundImage":			if (/\S/.test(val)) {				style.backgroundImage = "url(" + val + ")";			} else {				style.backgroundImage = "none";			}			break;		    case "f_st_borderWidth":			style.borderWidth = val;			break;		    case "f_st_borderStyle":			style.borderStyle = val;			break;		    case "f_st_borderColor":			style.borderColor = val;			break;		    case "f_st_borderCollapse":			style.borderCollapse = val ? "collapse" : "";			break;		    case "f_st_width":			if (/\S/.test(val)) {				style.width = val + params["f_st_widthUnit"];			} else {				style.width = "";			}			break;		    case "f_st_height":			if (/\S/.test(val)) {				style.height = val + params["f_st_heightUnit"];			} else {				style.height = "";			}			break;		    case "f_st_textAlign":			if (val == "char") {				var ch = params["f_st_textAlignChar"];				if (ch == '"') {					ch = '\\"';				}				style.textAlign = '"' + ch + '"';			} else {				style.textAlign = val;			}			break;		    case "f_st_verticalAlign":			style.verticalAlign = val;			break;		    case "f_st_float":			style.cssFloat = val;			break;// 		    case "f_st_margin":// 			style.margin = val + "px";// 			break;// 		    case "f_st_padding":// 			style.padding = val + "px";// 			break;		}	}};
meta: 2641	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2641/b95cfe0a8ebbc3a21a218afd124442c6ec979137/table-operations.js/clean/lib/editor/plugins/TableOperations/table-operations.js