rem: document.styleSheets[0].insertRule("book {margin-left:12em;}", 0); 
add:     document.styleSheets[0].cssRules[0].style.marginLeft = "12em"; 
context: function createToc(){  if (document.getElementsByTagName("toc").length == 0) {    var toc = document.createElement("toc");    var title = document.createElement("title");    title.appendChild(document.createTextNode("Table of Contents"));    toc.appendChild(title);      addToToc(document.documentElement, toc);    document.styleSheets[0].insertRule("book {margin-left:12em;}", 0);    document.documentElement.appendChild(toc);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/75db23b24d68ff243df82c37493d1c03f315945a/toc.js/buggy/content/xml/tests/toc/toc.js