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

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

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Tue, 17 Aug 2010 15:20:25 -0400
Message-ID: <AANLkTimhcz41PiLnSZeOVewDXGUPV2wKnGM_OpOknVr9@mail.gmail.com>
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.
Received on Tuesday, 17 August 2010 12:20:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:00 UTC