Re: [whatwg] Case canonicalization for reflected enumerated attributes limited to known values

2010-08-23 Thread Aryeh Gregor
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

Re: [whatwg] Case canonicalization for reflected enumerated attributes limited to known values

2010-08-22 Thread Mounir Lamouri
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"

Re: [whatwg] Case canonicalization for reflected enumerated attributes limited to known values

2010-08-17 Thread Aryeh Gregor
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

[whatwg] Case canonicalization for reflected enumerated attributes limited to known values

2010-08-17 Thread Aryeh Gregor
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