3 <script src=
"../../../resources/js-test.js"></script>
7 <div id=
"test1" contenteditable=
"true">foobar
</div>
10 description("Test using id in execCommand(InsertHorizontalRule)");
12 var s
= window
.getSelection();
13 var e
= document
.getElementById("test1");
17 document
.execCommand("InsertHorizontalRule", false, id
);
18 var hr
= document
.getElementById(id
);
20 shouldBeNonNull('hr');