blob: dc7bf322c317a5649bc6973792d460501f9add5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<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>
|