This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 18739 - 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
Summary: Suggested test from live DOM viewer: <!DOCTYPE html> <!-- see http://www.w3.o...
Status: NEW
Alias: None
Product: HTML WG
Classification: Unclassified
Component: testsuite (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-29 22:46 UTC by contributor
Modified: 2012-08-29 22:46 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2012-08-29 22:46:30 UTC
<!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/