Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / multiple-ids.html
bloba43604fe30ffda263003d473d4e6d4966ba63d72
1 <head>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
6 function doTest() {
8 result = document.getElementById("result");
10 document.getElementById('labo').innerHTML = "<form><select name='labo' id='labo'><option>1</option><option>2</option></select><form>";
11 sel = document.getElementById("labo");
12 result.innerHTML += ("1. Found " + sel + " (should be a div element)\n");
14 document.getElementById('labo2').innerHTML = "<span id='labo2'></<span>";
15 sel = document.getElementById("labo2");
16 result.innerHTML += ("2. Found " + sel + " (should be a div element)\n");
18 sel = document.getElementById("labo3");
19 result.innerHTML += ("3. Found " + sel + " (should be a div element)\n");
21 sel = document.getElementById("labo4");
22 result.innerHTML += ("4. Found " + sel + " (should be a div element)\n");
25 </script>
26 </head>
27 <body onload="doTest()">
28 <div id='labo'></div>
29 <div id='labo2'></div>
30 <div id='labo3'><form><select name='labo3' id='labo3'><option>1</option><option>2</option></select><form></div>
31 <div id='labo4'><span name='labo4' id='labo4'></span></div>
33 <pre id="result"></pre>
34 </body>