Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / paste-table-cells.html
blob24b32e0828f3fd50b727056cde69602314db2245
1 <!DOCTYPE html>
2 <html>
3 <head>
5 <style>
6 .editing {
7 border: 2px solid red;
8 font-size: 24px;
10 .explanation {
11 border: 2px solid blue;
12 padding: 12px;
13 font-size: 24px;
14 margin-bottom: 24px;
16 .scenario { margin-bottom: 16px;}
17 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
18 .expected-results:first-line { font-weight: bold }
19 </style>
20 <script src="../../resources/dump-as-markup.js"></script>
21 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
23 <script>
24 Markup.noAutoDump();
25 Markup.waitUntilDone();
27 function editingTest() {
28 var t1 = document.getElementById("test1");
29 var t2 = document.getElementById("test2");
30 setSelectionCommand(t1, 0, t2, 3);
31 copyCommand();
32 Markup.dump('root', 'After copy');
34 var e = document.getElementById("target");
35 setSelectionCommand(e, 0, e, 1);
36 Markup.dump('root', 'Before paste');
37 pasteCommand();
38 Markup.dump('root', 'After paste');
40 Markup.notifyDone();
43 </script>
45 <title>Editing Test</title>
46 </head>
47 <body onload="runEditingTest();" id="root" contenteditable>
48 <table><tr><td id="test1">hello</td><td id="test2">world</td></tr></table>
49 <div id="target">replaceme</div>
50 </body>
51 </html>