4 https://bugzilla.mozilla.org/show_bug.cgi?id=390975
7 <title>Test for Bug
390975</title>
8 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
12 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=390975">Mozilla Bug
390975</a>
14 <div id=
"content" style=
"display: none">
40 <script class=
"testbody" type=
"text/javascript">
42 /** Test for Bug
390975 **/
43 var form = $(
"form1");
44 is(form.elements.length,
5,
"Unexpected elements length");
47 is(form.elements.length,
3,
"Should have lost control outside table");
50 is(form.elements.length,
0,
"Should have lost control outside form");
53 is(form.elements.length,
5,
"Unexpected elements length");
56 is(form.elements.length,
2,
"Should have lost controls inside table row");