rem: sep = document.createElementNS("http: 
add: var sep = document.createElementNS("http: 
context: function BuildHTMLAttributeNameList(){  ClearMenulist(dialog.AddHTMLAttributeNameInput);    var elementName = gElement.localName.toLowerCase();  var attNames = gHTMLAttr[elementName];  if (attNames && attNames.length)  {    var forceOneChar = false;    var forceInteger = false;    for (var i = 0; i < attNames.length; i++)    {      var name = attNames[i];      if (name == "_core")      {        // Signal to append the common 'core' attributes.        // Note: These currently don't have any filtering        for (var j = 0; j < gCoreHTMLAttr.length; j++)          AppendStringToMenulist(dialog.AddHTMLAttributeNameInput, gCoreHTMLAttr[j]);      }      else if (name == "-")      {        // Signal for separator        var popup = dialog.AddHTMLAttributeNameInput.firstChild;        if (popup)        {          sep = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuseparator");          if (sep)            popup.appendChild(sep);        }              }      else      {        // Get information about value filtering        forceOneChar = name.indexOf("!") >= 0;        forceInteger = name.indexOf("#") >= 0;        forceIntOrPercent = name.indexOf("%") >= 0;        //var required = name.indexOf("$") >= 0;        // Strip flag characters ("_" is used when attribute name is reserved JS word)        name = name.replace(/[!#%$_]/g, "");        var menuitem = AppendStringToMenulist(dialog.AddHTMLAttributeNameInput, name);        if (menuitem)        {          // Signify "required" attributes by special style          //TODO: Don't do this until next version, when we add          //      explanatory text and an 'Autofill Required Attributes' button          //if (required)          //  menuitem.setAttribute("class", "menuitem-highlight-1");          // Set flags to filter value input          menuitem.setAttribute("forceOneChar", forceOneChar ? "true" : "");          menuitem.setAttribute("forceInteger", forceInteger ? "true" : "");          menuitem.setAttribute("forceIntOrPercent", forceIntOrPercent ? "true" : "");        }      }    }  }  // Always start with empty input fields  ClearHTMLInputWidgets();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1b897a579bf4cca96195c18b8ac23c6b851d9ee7/EdAEHTMLAttributes.js/clean/editor/ui/dialogs/content/EdAEHTMLAttributes.js