blob: e9bc9b222dc74e81667c46feeeb68af972466707 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../../resources/js-test.js"></script>
<div id="container">
</div>
<script>
description("This test verifies if Range.deleteContents can handle doctype.");
var range = document.createRange();
range.setStart(document, 0);
range.setEnd(document, 1);
shouldNotThrow("range.deleteContents()");
</script>