Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Element / id-in-node-list-index01.html
blob8bd7335b3a15d2ace4b9e79b2e78453a29d2fc9d
1 <html>
2 <head>
3 <script src="../../../resources/js-test.js"></script>
4 </head>
5 <body>
7 <div name='name1' id='id1'/>
8 <p name='name3' id='id2'/>
9 <div name='name2' id='id2'/>
11 <script>
12 description("Test using id as index of node list");
14 var elems = document.getElementsByTagName('div');
16 shouldBe('elems["id1"].getAttribute("name")', '"name1"');
17 shouldBe('elems["id2"].getAttribute("name")', '"name2"');
18 </script>
19 </body>
20 </html>