1 description('Tests that setting the .length of an HTMLSelectElement correctly creates and destroys options.');
3 var sel = document.createElement('select');
4 document.body.appendChild(sel);
6 shouldBe('sel.length', '0');
9 shouldBe('sel.length', '200');
12 shouldBe('sel.length', '100');
15 shouldBe('sel.length', '180');