W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

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

From: Mounir Lamouri <mounir.lamouri@gmail.com>
Date: Mon, 23 Aug 2010 07:11:03 +0200
Message-ID: <4C7202E7.6090604@gmail.com>
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.


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.

Received on Sunday, 22 August 2010 22:11:03 UTC

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