rem: (ownerTag == "link" && (relType == "stylesheet" || relType == "alternate stylesheet"))) { 
add: (ownerTag == "link" && relType.indexOf("stylesheet") != -1)) { 
context: function AddSheetEntryToTree(sheetsTree, ownerNode){  if (ownerNode.nodeType == Node.ELEMENT_NODE) {    var ownerTag  = ownerNode.nodeName.toLowerCase()    var relType   = ownerNode.getAttribute("rel");    if (ownerTag == "style" ||        (ownerTag == "link" &&          (relType == "stylesheet" || relType == "alternate stylesheet"))) {      var treeitem  = document.createElementNS(XUL_NS, "treeitem");      var treerow   = document.createElementNS(XUL_NS, "treerow");      var treecell  = document.createElementNS(XUL_NS, "treecell");      // what kind of owner node do we have here ?      // a style element indicates an embedded stylesheet,      // while a link element indicates an external stylesheet;      // the case of an XML Processing Instruction is not handled, we      // are supposed to be in HTML 4      var external = false;      if (ownerTag == "style") {        treecell.setAttribute("label", "internal stylesheet");      }      else if (ownerTag == "link") {        // external stylesheet, let's present its URL to user        treecell.setAttribute("label", ownerNode.href);        external = true;        if ( /(\w*):.*/.test(ownerNode.href) ) {          if (RegExp.$1 == "file") {            external = false;          }        }        else          external = false;      }      // add a new entry to the tree      var o = newObject( treeitem, external, SHEET, ownerNode.sheet, false, 0 );      PushInObjectsArray(o);            treerow.appendChild(treecell);      treeitem.appendChild(treerow);      treeitem.setAttribute("container", "true");      // add enties to the tree for the rules in the current stylesheet      var rules = null;      if (ownerNode.sheet)        rules = ownerNode.sheet.cssRules;      AddRulesToTreechildren(treeitem, rules, external, 1);      sheetsTree.appendChild(treeitem);    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f30d3ed334b276b661545ac9df74bc483ba398fa/EdCssProps.js/clean/extensions/editor/cascades/resources/content/EdCssProps.js