title: Can't change <button>'s "type" with Javascript
body: <p>On Chromium 7.0.517.44 (64615) Ubuntu 10.10, I seem to be unable to change the <code>type</code> attribute of a <code>&lt;button&gt;</code> element:</p>
  
  <pre><code>&gt; blah = document.createElement("button")
    &lt;button&gt;​&lt;/button&gt;​
  &gt; blah.type
    "submit"
  &gt; blah.type = "button"
    "button"
  &gt; blah.type
    "submit"
  </code></pre>
  
  <p>Help?</p>
  
  <hr>
  
  <p>On Firefox 3.6.12 and Opera 10.63, it works fine:</p>
  
  <pre><code>&gt;&gt;&gt; blah = document.createElement("button")
      &lt;button&gt;
  &gt;&gt;&gt; blah.type
      "submit"
  &gt;&gt;&gt; blah.type = "button"
      "button"
  &gt;&gt;&gt; blah.type
      "button"
  </code></pre>