Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / select / select-assign-null.html
blobd9066befb69cd5a745f34105d077e93a6d8747fa
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <select id="tags">
8 <option selected="selected" value="marquee">marquee</option>
9 <option value="blink">blink</option>
10 </select>
11 <script>
12 description('Check if an option is removed when it is assigned null.');
13 var tags = document.getElementById('tags');
14 shouldBe("tags.options.length", "2");
16 tags[0] = null;
17 shouldBe("tags.options.length", "1");
19 tags[tags.length] = new Option("bgsound", "bgsound");
20 shouldBe("tags.options.length", "2");
21 </script>
22 </body>
23 </html>