[whatwg] [dom] attributes collection not fully defined?
Michael Day
mikeday at yeslogic.com
Wed May 29 22:15:09 PDT 2013
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
More information about the whatwg
mailing list