[Bug 18739] New: Suggested test from live DOM viewer: <!DOCTYPE html> <!-- see http://www.w3.org/mid/4FDB74D4.7090001@mit.edu --> <form><input name="1"></form> <script> var list = document.forms[0].elements; w(list.length) // should be 1 w(list[1]) // should be unde

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18739

           Summary: Suggested test from live DOM viewer: <!DOCTYPE html>
                    <!-- see
                    http://www.w3.org/mid/4FDB74D4.7090001@mit.edu -->
                    <form><input name="1"></form> <script>   var list =
                    document.forms[0].elements;   w(list.length) // should
                    be 1   w(list[1]) // should be unde
           Product: HTML WG
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: dave.null@w3.org
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org


<!DOCTYPE html> <!-- see http://www.w3.org/mid/4FDB74D4.7090001@mit.edu -->
<form><input name="1"></form>
<script>
  var list = document.forms[0].elements;
  w(list.length) // should be 1
  w(list[1]) // should be undefined
</script>

Posted from: 2620:0:1000:147d:c42e:e241:543:3355
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.6
(KHTML, like Gecko) Chrome/23.0.1243.2 Safari/537.6
Referer: http://software.hixie.ch/utilities/js/live-dom-viewer/

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 29 August 2012 22:46:31 UTC