rem: var name = TrimString(item.firstChild.firstChild.getAttribute("value")); 
add: var name = TrimString(item.firstChild.firstChild.getAttribute("label")); 
context: function UpdateCSSAttributes(){  dump("===============[ Setting and Updating STYLE ]===============\n");  var CSSAList = document.getElementById("CSSAList");  var styleString = "";  for(var i = 0; i < CSSAList.childNodes.length; i++)  {    var item = CSSAList.childNodes[i];    var name = TrimString(item.firstChild.firstChild.getAttribute("value"));    var value = TrimString(item.firstChild.lastChild.firstChild.value);    // this code allows users to be sloppy in typing in values, and enter    // things like "foo: " and "bar;". This will trim off everything after the     // respective character.     if(name.indexOf(":") != -1)      name = name.substring(0,name.lastIndexOf(":"));    if(value.indexOf(";") != -1)      value = value.substring(0,value.lastIndexOf(";"));    if(i == (CSSAList.childNodes.length - 1))      styleString += name + ": " + value + ";";   // last property    else      styleString += name + ": " + value + "; ";  }  dump("stylestring: ||" + styleString + "||\n");  if(styleString.length > 0) {    element.removeAttribute("style");    element.setAttribute("style",styleString);  // NOTE BUG 18894!!!  } else {    if(element.getAttribute("style"))      element.removeAttribute("style");  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b2dd2b2d2fd037df917e07645fa019a963332a5/EdAECSSAttributes.js/clean/editor/ui/dialogs/content/EdAECSSAttributes.js