Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / insert-br-009.html
blob1b0f94b232fa3001d124e2a37ef519728d85197c
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <p>This tests for a bug in InsertLineBreakCommand. Only one line break should be inserted and the caret should end up at the end of the bordered div below.</p><div contenteditable="true" id="div" style="white-space:pre; border: 1px solid black;">Hello world.
7 </div>
9 <script>
10 var sel = window.getSelection();
11 var div = document.getElementById("div");
12 sel.collapse(div, 0);
13 sel.modify("move", "forward", "line");
14 document.execCommand("InsertLineBreak");
15 </script>