Test LayoutTests/fast/dom/SelectorAPI/caseID.html Detail
- id
- LayoutTests/fast/dom/SelectorAPI/caseID.html
- type
- layouttest
- version
- 0
- enabled
- 1
- tags
- flags
- sections
-
- url
- http://localhost:8888/LayoutTests/fast/dom/SelectorAPI/caseID.html
- file
- LayoutTests/fast/dom/SelectorAPI/caseID.html
- results
-
Layouttest detail
expected:
PASS document.querySelector('#lower1').textContent is 'lower 1'
PASS document.querySelector('#LOWER2').textContent is 'lower 2'
PASS document.querySelector('#UPPER1').textContent is 'UPPER 1'
PASS document.querySelector('#upper2').textContent is 'UPPER 2'
PASS successfullyParsed is true
TEST COMPLETE
file:
<html>
<head>
<link rel="stylesheet" href="../../js/resources/js-test-style.css">
<script src="../../js/resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<div style="display: none">
<span id="lower1">lower 1</span><br>
<span id="lower2">lower 2</span><br>
<span id="UPPER1">UPPER 1</span><br>
<span id="UPPER2">UPPER 2</span><br>
</div>
<script>
shouldBe("document.querySelector('#lower1').textContent", "'lower 1'");
shouldBe("document.querySelector('#LOWER2').textContent", "'lower 2'");
shouldBe("document.querySelector('#UPPER1').textContent", "'UPPER 1'");
shouldBe("document.querySelector('#upper2').textContent", "'UPPER 2'");
var successfullyParsed = true;
</script>
<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>
file frame
show/hide: