4 <script src=
"../../resources/dump-as-markup.js"></script>
5 <div style=
"display:inline" contenteditable=
"true" id=
"item1">
10 if (window
.testRunner
)
11 testRunner
.dumpEditingCallbacks();
13 Markup
.description("This test uses FormatBlock with html brackets in the tag string passed to execCommand.");
15 Markup
.dump("item1", "Before FormatBlock with <h1>");
17 var s
= window
.getSelection();
18 var r
= document
.createRange();
19 var p1
= document
.getElementById("item1");
21 document
.execCommand("FormatBlock", false, "<h1>");
23 Markup
.dump("item1", "After FormatBlock with <h1>");