Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / insert-3786362-fix.html
blobfbf2950ae0608f168a48f571497a1e3ff7f0f0f1
1 <html>
2 <head>
3 <style>
4 .editing {
5 border: 2px solid red;
6 font-size: 24px;
7 word-wrap: break-word;
8 -khtml-nbsp-mode: space;
9 -khtml-line-break: after-white-space;
11 </style>
12 <script src="../editing.js"></script>
13 <script src="../../resources/dump-as-markup.js"></script>
14 <title>Editing Test</title>
15 </head>
16 <body>
17 <p id="description"><b>This demonstrates a bug:</b> copying an empty line that's implemented with a br doesn't put an interchange newline on the pasteboard. There should be two blank lines after the 'a'.</p>
18 <div contenteditable="true" id="test">
19 <div class="editing">a<br><br>b</div>
20 <div class="editing"></div>
21 </div>
22 <script>
24 function editingTest() {
25 Markup.description(document.getElementById('description').textContent);
27 extendSelectionForwardByLineCommand();
28 extendSelectionForwardByLineCommand();
29 copyCommand();
31 moveSelectionForwardByLineCommand();
32 moveSelectionForwardByLineCommand();
34 Markup.dump('test', 'Before paste');
35 pasteCommand();
36 Markup.dump('test', 'After paste');
39 runEditingTest();
41 </script>
42 </body>
43 </html>