Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / interchange-newline-2.html
blob2d3d15a730f5b32e8787e217e0a707ec4a8a3392
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="test" contenteditable="true"><div>foo</div>bar</div>
5 <script src="../../resources/dump-as-markup.js"></script>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpEditingCallbacks();
10 Markup.description('This demonstrates a bug in interchange newline handling during paste.\n'
11 + 'The selection being pasted into contain multiple blocks, which breaks the old code in paste that handled interchange newlines.')
13 var s = window.getSelection();
14 var e = document.getElementById("test");
16 s.collapse(e, 0);
17 s.modify("move", "forward", "character");
18 s.modify("extend", "forward", "line");
19 document.execCommand("InsertHTML", false, "<div>bar</div>baz<br class='Apple-interchange-newline'>");
21 Markup.dump('test');
22 </script>
23 </body>
24 </html>