Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / paragraph-separator-01.html
blob3f9765fef151e1148d9305efdfb616558ffaa378
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <p>Tests for a bug in the paragraph separator insertion code. Only one newline should be added.</p>
6 <div id="test" contenteditable="true">foo<br><div>bar</div></div>
8 <script type="text/javascript" src="../editing.js"></script>
9 <script>
10 if (window.internals)
11 internals.settings.setEditingBehavior("mac");
12 var e = document.getElementById("test");
13 var s = window.getSelection();
15 setSelectionCommand(e, 0, e, 0);
16 moveSelectionForwardByWordCommand();
17 insertParagraphCommand();
18 </script>