3 testRunner
.dumpEditingCallbacks();
5 <p>This tests pasting a Mail blockquote at the start of a paragraph. Blockquoting should be stripped.
</p>
6 <div id=
"test1" contenteditable=
"true">x
</div>
8 <script type=
"text/javascript" src=
"../editing.js"></script>
10 var e
= document
.getElementById("test1");
11 var s
= window
.getSelection();
13 setSelectionCommand(e
, 0, e
, 0);
14 insertHTMLCommand("<blockquote type='cite'><div>Blockquoted Text</div></blockquote>");
17 <p>This tests pasting text into a Mail blockquote. The last bit of content in the incoming fragment should be merged with the paragraph after the position being pasted into.
</p>
18 <div id=
"test2" contenteditable=
"true"><blockquote type='cite'
><div>Blockquoted Text
</div></blockquote></div>
21 var e
= document
.getElementById("test2");
22 var s
= window
.getSelection();
24 setSelectionCommand(e
, 0, e
, 0);
25 moveSelectionForwardByWordCommand();
26 insertHTMLCommand("<div>foo</div><div>bar</div>");