blob: 88671b83056adb8d435de0be449eca7968b78018 [file] [log] [blame]
<!doctype html>
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<div style="display:none" id="test">
<div>
<p class="ng" id="target">Cocoa and Cappuccino make us happy.</p>
</div>
</div>
</body>
<script>
description('This test makes sure that querySelector with pseudo-element inside functional pseudo class :not is syntax error.');
shouldThrow('document.querySelectorAll("#test div :not(:first-line)")');
</script>
<script src="../../resources/js-test-post.js"></script>
</html>