Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Element / id-in-formcollection.html
blobd5b4d9220d54893285278471220735f11222ba47
1 <html>
2 <head>
3 <script src="../../../resources/js-test.js"></script>
4 </head>
5 <body>
7 <form id="idf1">
8 <select id="ids1" name="name1"><option selected>FAILURE</option></select>
9 <select id="ids1" name="name2"><option selected>FAILURE</option></select>
10 </form>
12 <script>
13 description("Test using id in HTMLFormCollection");
15 var elems = document.getElementById("idf1").elements;
16 shouldBe('elems["ids1"][1].getAttribute("name")', '"name2"');
17 </script>
18 </body>
19 </html>