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>
7 <script src="../editing.js"></script>
8 <script src="../../resources/dump-as-markup.js"></script>
11 var test = document.getElementById('test');
13 window.getSelection().setPosition(test, 0);
15 if (window.testRunner)
16 testRunner.dumpEditingCallbacks();
18 extendSelectionForwardByCharacterCommand();
20 for (i = 0; i < 2; i++)
21 moveSelectionForwardByCharacterCommand();
23 typeCharacterCommand();
25 Markup.dump('root', 'You should see a\\tax\\t\\tz below');