Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / typing-tab-designmode.html
blob11d8fff4c75f7d9884c89ba4cd4ff10620a85707
1 <body>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
6 document.designMode="on";
8 var e = document.body;
9 var s = window.getSelection();
10 s.collapse(e, 0);
12 if (window.eventSender) {
13 eventSender.keyDown('\t');
14 eventSender.keyDown('\t', ["shiftKey"]);
16 </script>
17 Test to see if tabs work in designMode. There should be two tabs inserted. One for the tab key, and one for shift-tab.<br>
19 </body>