Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / paste-text-013.html
blob47115265bbbf3de28b1919f257c52d2d4bbeb067
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
10 </style>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
13 <script>
15 function editingTest() {
16 for (i = 0; i < 4; i++)
17 extendSelectionForwardByCharacterCommand();
18 copyCommand();
19 moveSelectionForwardByCharacterCommand();
20 typeCharacterCommand();
21 pasteCommand();
24 </script>
26 <title>Editing Test</title>
27 </head>
28 <body contenteditable id="root">
30 See this bug: <a href="rdar://problem/3918712">&lt;rdar://problem/3918712&gt;</a> "Paste as Quotation" in Mail just pastes (&lt;blockquote&gt; tag seems to be lost).
31 Should see one box with blockquoted "foo" text, followed by another box with an "x" (not in a blockquote) and "foo" (in a blockquote).
32 <div style="height: 24px"></div>
34 <div id="test" class="editing"><div><blockquote class="Apple-paste-as-quotation">foo</blockquote></div></div>
35 <div class="editing"></div>
37 <script>
38 runEditingTest();
39 </script>
41 </body>
42 </html>