Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / paste-text-at-tabspan-001.html
blob2eee52197022d0fc0e6e997a6e9abe176c1deafe
1 <!DOCTYPE html>
2 <html>
3 <body style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">
4 <div contenteditable id="root" style="border: 2px solid red; padding: 12px; font-size: 24px">
5 <span id="test">a<span class="Apple-tab-span" style="white-space:pre"> </span>z</span>
6 </div>
7 <script src="../editing.js"></script>
8 <script src="../../resources/dump-as-markup.js"></script>
9 <script>
11 var test = document.getElementById('test');
12 test.focus();
13 window.getSelection().collapse(test, 0);
15 if (window.testRunner)
16 testRunner.dumpEditingCallbacks();
18 extendSelectionForwardByCharacterCommand();
19 copyCommand();
20 moveSelectionForwardByCharacterCommand();
21 pasteCommand();
22 typeCharacterCommand();
24 Markup.dump('root', 'You should see aax\\tz below');
26 </script>
27 </body>
28 </html>