4 <script src="../../../resources/dump-as-markup.js"></script>
14 <p>See this bug: <a href="rdar://problem/3918712"><rdar://problem/3918712></a> "Paste as Quotation" in Mail just pastes (<blockquote> tag seems to be lost).</p>
15 <p>To manually test, copy everything in the first editable box and paste it in the second box.
16 You should see "foo" and a new line inside a red box.</p>
17 <div contenteditable id="root">
18 <div id="test" class="editing"><div><blockquote>foo</blockquote></div></div>
19 <div class="editing"></div>
21 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
24 function editingTest() {
25 for (i = 0; i < 4; i++)
26 extendSelectionForwardByCharacterCommand();
28 for (i = 0; i < 2; i++)
29 moveSelectionForwardByCharacterCommand();
33 if (window.testRunner)
34 runDumpAsTextEditingTest();