blob: d51e104b578e484fd3194259d891b3e44955e514 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<input type="text" value="hello">
<script src="../../resources/js-test.js"></script>
<script>
description(`This tests calling containsNode when the selection is set inside a shadow tree.<br>
WebKit should not hit a debug assertion`);
shouldBeFalse(`document.querySelector('input').select(); getSelection().containsNode(document.body)`);
</script>
</body>
</html>