Editing tests should use testRunner instead of layoutTestController
[WebKit-https.git] / LayoutTests / editing / execCommand / format-block-with-trailing-br.html
1 <script>
2 if (window.testRunner)
3      testRunner.dumpEditingCallbacks();
4 </script>
5 <div style="border:1px solid black" contenteditable="true">
6 <div id="item1">Foo<br></div>
7 </div>
8
9 <script>
10 var s = window.getSelection();
11 var p1 = document.getElementById("item1");
12 s.setPosition(p1, 0);
13 document.execCommand("FormatBlock", false, "pre");
14
15 </script>