blob: 42c26c3c0bc1c2fbc94bb56f91d359b2bf4d37e3 [file] [log] [blame]
<!doctype html>
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<div style="display:none">
<sibling class="target"></sibling>
<sibling></sibling>
<sibling></sibling>
<sibling></sibling>
<padding></padding>
<target></target>
</div>
</body>
<script>
description("Test the correctness of the backtracking optimizations with mixed case tag names in the selector.");
shouldBe('document.querySelectorAll("SIBLING.target + SIBLING + sibling ~ target").length', '1');
</script>
<script src="../../resources/js-test-post.js"></script>
</html>