4 Test from Adam Guthrie.
6 https://bugzilla.mozilla.org/show_bug.cgi?id=355026
9 <script type=
"text/javascript" src=
"../MochiKit/MochiKit.js"></script>
10 <script type=
"text/javascript" src=
"SimpleTest/SimpleTest.js"></script>
11 <link rel=
"stylesheet" type=
"text/css" href=
"SimpleTest/test.css" />
15 <a href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=355026">Mozilla Bug
355026</a>
16 <div style=
"display: none" id=
"lengthtest">
19 <script type=
"text/javascript">
21 var foo
= document
.createElement("div");
22 foo
.appendChild(document
.createElement("div"));
23 var children
= foo
.getElementsByTagName("div");
25 is(children
.length
, 1, "After appending a child div to a div, div.length should be 1.");