minlength=-5 />
      <input id="non-numeric" minlength="not-a-number" />
      <input id="assign-negative" />
      <input id="assign-non-numeric" />
    </div>

    <div id="log"></div>

    <script type="text/javascript">
      test(
        function() {
          assert_equals(document.getElementById("none").minLength, -1);
        }, "Unset minlength is -1");

      test(
        function() {
          assert_equals(document.getElementById("negative").minLength, -1);
        }, "Negative minlength is a