rem: cmd.setAttribute("collapsed", "true"); 
add: cmd.collapsed = true; 
context:   observe: function(subject, topic, prefName)  {    if (!IsHTMLEditor())      return;    // verify that we're changing a button pref    if (topic != "nsPref:changed") return;    if (prefName.substr(0, this.domain.length) != this.domain) return;    var cmd = document.getElementById("cmd_highlight");    if (cmd) {      var prefs = GetPrefs();      var useCSS = prefs.getBoolPref(prefName);      var editor = GetCurrentEditor();      if (useCSS && editor) {        var mixedObj = {};        var state = editor.getHighlightColorState(mixedObj);        cmd.setAttribute("state", state);        cmd.removeAttribute("collapsed");      }            else {        cmd.setAttribute("state", "transparent");        cmd.setAttribute("collapsed", "true");      }      if (editor)        editor.isCSSEnabled = useCSS;    }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/324aff4509f6aad9b525cd2c7ff2890ac48e5674/editor.js/clean/editor/ui/composer/content/editor.js