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

Mounir Lamouri mounir.lamouri at gmail.com
Sun Aug 22 22:11:03 PDT 2010


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:
> 
> <!doctype html>
> <script>
>   var el = document.createElement("form");
>   el.setAttribute("method", "invalid value");
>   alert(el.method);
> </script>
> 
> IE alerts "get", everyone else alerts "invalid value".  Are non-IE
> implementers interested in changing to match IE here?  IE's behavior
> seems more useful.

Hi,

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.

Thanks,
--
Mounir



More information about the whatwg mailing list