blob: dc7bf322c317a5649bc6973792d460501f9add5f [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpEditingCallbacks();
</script>
<p>In the block below, the second 'bar ' should be selected.</p>
<div style="border: 1px solid black; width:50px;">foo bar <span>bar</span> baz</div>
<script>
document.execCommand("FindString", false, "bar ");
document.execCommand("FindString", false, "bar ");
document.execCommand("FindString", false, "bar ");
</script>