On Mon, Aug 23, 2010 at 1:11 AM, Mounir Lamouri
wrote:
> This is actually a recent change in the specification so you should not
> expect to have all browsers working the same way.
> FWIW, Firefox nightlies already follow this change. That will be in
> beta5 too.
Ah, okay. I guess I have to star
On 08/17/2010 09:20 PM, Aryeh Gregor wrote:
> Actually, it goes further than that. Everyone but IE seems to just
> return the value of the content attribute when you do a get on the IDL
> attribute:
>
>
>
> var el = document.createElement("form");
> el.setAttribute("method", "invalid value"
Actually, it goes further than that. Everyone but IE seems to just
return the value of the content attribute when you do a get on the IDL
attribute:
var el = document.createElement("form");
el.setAttribute("method", "invalid value");
alert(el.method);
IE alerts "get", everyone else aler
Test case:
var el = document.createElement("form");
el.setAttribute("method", "get");
alert(el.method);
el.setAttribute("method", "GET");
alert(el.method);
Spec:
"""
If a reflecting IDL attribute is a DOMString whose content attribute
is an enumerated attribute, and the IDL att