2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / fast / dom / SelectorAPI / caseID.html
blobd429f24154f082d0d1bc5491fe5eaf3b2f471f83
1 <html>
2 <head>
3 <link rel="stylesheet" href="../../js/resources/js-test-style.css">
4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head>
6 <body>
7 <p id="description"></p>
8 <div id="console"></div>
9 <div style="display: none">
10 <span id="lower1">lower 1</span><br>
11 <span id="lower2">lower 2</span><br>
12 <span id="UPPER1">UPPER 1</span><br>
13 <span id="UPPER2">UPPER 2</span><br>
14 </div>
15 <script>
16 shouldBe("document.querySelector('#lower1').textContent", "'lower 1'");
17 shouldBe("document.querySelector('#LOWER2').textContent", "'lower 2'");
18 shouldBe("document.querySelector('#UPPER1').textContent", "'UPPER 1'");
19 shouldBe("document.querySelector('#upper2').textContent", "'UPPER 2'");
21 var successfullyParsed = true;
22 </script>
23 <script src="../../js/resources/js-test-post.js"></script>
24 </body>
25 </html>