Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / paste-xml.xhtml
blobe815c47d5406d4e05d1e201d74d0dac7954ffd22
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <head>
7 <style>
8 .editing {
9 border: 2px solid red;
10 padding: 12px;
11 font-size: 24px;
13 </style>
15 <script src="../editing.js" language="JavaScript" type="text/JavaScript" />
17 <script>
19 function editingTest() {
20 for (i = 0; i != 4; i++)
21 moveSelectionForwardByCharacterCommand();
22 for (i = 0; i != 3; i++)
23 extendSelectionForwardByCharacterCommand();
24 copyCommand();
25 moveSelectionForwardByCharacterCommand();
26 pasteCommand();
29 </script>
31 </head>
33 <body>
34 <div contenteditable="" id="root" class="editing">
35 <span id="test">foo bar baz</span>
36 </div>
38 <script>
39 runDumpAsTextEditingTest(true);
40 </script>
42 </body>
43 </html>