Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / paste-at-end-of-node-followed-by-inline-element.html
blob2ae374e344b6a13c958d6fddbdc99d94aad181f7
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p id="description">This tests inserting a text in the middle of a text node. You should see "1 Two 3" below.</p>
5 <pre id="test" contentEditable="true" style="border:1px solid black">
6 <b>1 <i>2 3</i></b>
7 </pre>
8 <script src="../../resources/dump-as-markup.js"></script>
9 <script>
10 getSelection().selectAllChildren(document.querySelector('i'));
11 var text = document.querySelector('i').firstChild;
12 getSelection().setBaseAndExtent(text, 0, text, 1);
13 document.execCommand('InsertHtml', false, 'Two');
15 Markup.description(document.getElementById('description').textContent);
16 Markup.dump('test');
18 </script>
19 </body>
20 </html>