[Cocoa] Remove FEATURE_DEFINES from the Cocoa/Xcode build system
[WebKit-https.git] / LayoutTests / editing / pasteboard / paste-into-anchor-text.html
1 <script>
2 if (window.testRunner) {
3      testRunner.dumpAsText();
4      testRunner.dumpEditingCallbacks();
5 }
6 </script>
7 <script type="text/javascript" src="../editing.js"></script>
8 <div contenteditable>
9 <table><tbody><tr><td>
10     <table style="position: relative; z-index: 0;">
11         <tbody><tr>
12             <td>
13                 <font class="Apple-style-span" color="red">
14                     <span class="Apple-style-span" style="text-decoration:underline;">
15                         <td>
16                             <a href="http://www.cantonrep.com/index.php?ID=373537&Category=17&subCategoryID=30" id=r-11i_1119206349>
17                                 <img src="" width=80 height=80 alt="" border=1>
18                                 <br>
19                                 <font size=-2>Canton Repository (subscription)</font>
20                             </a>
21                         </td>
22                         <td valign=top>
23                             <a href="http://news.google.com/?ned=us&ncl=1119206349&hl=en&topic=s">
24                                 <b id="test">all 79 news articles</b>
25                             </a>
26                         </td>
27                     </span>
28                 </font>
29             </td>
30             <td valign=top>
31                 <br>
32             <td>
33         </tr></tbody>
34     </table>
35 </td></tr></tbody></table>
36 </div>
37 <script>
38 var e = document.getElementById("test").firstChild;
39 var s = window.getSelection();
40
41 setSelectionCommand(e, 5, e, 5);
42 insertHTMLCommand("hello world")
43 </script>