rem: for (i = 0; i < l; i++) { name = style.item(i); value = style.getPropertyValue(name);  if ( !AddTreeItem( name, value, "CSSAList", CSSAttrs ) ) dump("Failed to add CSS attribute: " + i + "\n"); 
add: if (l > 0) { var added = false; for (i = 0; i < l; i++) { name = style.item(i); value = style.getPropertyValue(name); AddTreeItem( name, value, "CSSAList", CSSAttrs ); } 
context: function BuildCSSAttributeTable(){  // dump("populating CSS Attributes tree\n");  // dump("  style=\"" + element.getAttribute("style") + "\"\n");  // get the CSS declaration from DOM 2 ElementCSSInlineStyle  var style = element.style;  if(style == undefined)  {    dump("Inline styles undefined\n");    return;  }  var l = style.length;  if(l == undefined || l == 0)  {    if (l == undefined) {      dump("Failed to query the number of inline style declarations\n");    }    return;  }  for (i = 0; i < l; i++) {    name = style.item(i);    value = style.getPropertyValue(name);    // dump("  adding property '" + name + "' with value '" + value +"'\n");    if ( !AddTreeItem( name, value, "CSSAList", CSSAttrs ) )      dump("Failed to add CSS attribute: " + i + "\n");  }  return;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a8e5c0b7bcf6def29348bdc1fb448239fd223bd2/EdAECSSAttributes.js/clean/editor/ui/dialogs/content/EdAECSSAttributes.js