W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2013

Re: [whatwg] [dom] attributes collection not fully defined?

From: Michael Day <mikeday@yeslogic.com>
Date: Thu, 30 May 2013 15:15:09 +1000
Message-ID: <51A6E05D.30506@yeslogic.com>
To: whatwg@lists.whatwg.org
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
Received on Thursday, 30 May 2013 05:15:41 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:59 UTC