Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / 4806874.html
blob5ade59cab1c6f70aed7d70b3d9a2492ace5b38a0
1 <p>This tests for an infinite loop on Paste. You should see 'Hello: ' and then an input field.</p>
2 <div id="div" contenteditable="true">Hello: </div>
4 <script>
5 if (window.internals)
6 internals.settings.setEditingBehavior("mac");
7 var div = document.getElementById("div");
8 var sel = window.getSelection();
10 sel.collapse(div, 0);
11 sel.modify("move", "forward", "word");
13 document.execCommand("InsertHTML", false, "<div><input type='text'></div>");
14 </script>