Hi Boris,

     div.setAttribute("fruit", "orange");
     div.attributes.fruit = "apple";
     alert(div.attributes.fruit); // apple
     div.removeAttribute("fruit");
     alert(div.attributes.fruit); // apple

alerts "apple" in current trunk Firefox both times, for example.

Okay, we will try to follow WebIDL definition for Prince then, and hopefully that will give us some level of browser compatibility :)

Best regards,

Michael

--
Prince: Print with CSS!
http://www.princexml.com

Reply via email to