1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
11 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
12 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
13 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
14 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
15 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
16 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
17 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
18 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
19 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
20 This is a test of execCommand(CreateLink, ...). It tests:
22 Creating a link from a selection that is completely unlinked.
23 Creating a link from a selection that is inside an existing link.
24 Creating a link from a selection that is partially linked.
25 Creating a link from a selection that contains lists, tables, styled text, and images.
26 This paragraph starts unlinked. The entire paragraph should end up being a link to google.com.
27 This paragraph starts out as a link to apple.com. The second word in the paragraph should end up being a link to google.com.
28 This line starts out with a link in the middle. The second half of this paragraph, starting after the bold 'a' should end up being a link to google.com.
29 This editable region contains lists, tables, styled text, and images. The entire region should end up being a link to google.com.
35 This line contains an image.
36 innerHTML of editable regions after the test:
38 <a href="http://www.google.com/">This paragraph starts unlinked. The entire paragraph should end up being a link to google.com.</a>
39 <a href="http://www.apple.com/">This</a><a href="http://www.google.com/"> paragraph</a><a href="http://www.apple.com/"> starts out as a link to apple.com. The second word in the paragraph should end up being a link to google.com.</a>
40 <a href="http://www.apple.com/">This</a><a href="http://www.google.com/"> paragraph</a><a href="http://www.apple.com/"> starts out as a link to apple.com. The second word in the paragraph should end up being a link to google.com.</a>
41 <p><a href="http://www.google.com/">This <i>editable region</i> contains lists, tables, styled text, and images. The entire region should end up being a link to google.com.</a></p> <ul> <li><a href="http://www.google.com/">Item 1</a></li> <li><a href="http://www.google.com/">Item 2</a></li> </ul> <table border="1"><tbody><tr><td><a href="http://www.google.com/">1</a></td><td><a href="http://www.google.com/">2</a></td><td><a href="http://www.google.com/">3</a></td></tr></tbody></table> <a href="http://www.google.com/"><br> This <b>line</b> contains <img src="../resources/abe.png"> an image. </a>