3 <script src=
"../../../resources/js-test.js"></script>
6 <div style=
"display: none">
7 <span id=
"lower1">lower
1</span><br>
8 <span id=
"lower2">lower
2</span><br>
9 <span id=
"UPPER1">UPPER
1</span><br>
10 <span id=
"UPPER2">UPPER
2</span><br>
13 shouldBe("document.querySelector('#lower1').textContent", "'lower 1'");
14 shouldBe("document.querySelector('#LOWER2').textContent", "'lower 2'");
15 shouldBe("document.querySelector('#UPPER1').textContent", "'UPPER 1'");
16 shouldBe("document.querySelector('#upper2').textContent", "'UPPER 2'");
18 shouldBeTrue("document.getElementById('lower1').webkitMatchesSelector('#lower1')");
19 shouldBeTrue("document.getElementById('lower2').webkitMatchesSelector('#LOWER2')");
20 shouldBeTrue("document.getElementById('UPPER1').webkitMatchesSelector('#UPPER1')");
21 shouldBeTrue("document.getElementById('UPPER2').webkitMatchesSelector('#upper2')");