| 1 | <html> |
|---|
| 2 | <head> |
|---|
| 3 | <title>Test paths in design mode</title> |
|---|
| 4 | <script type="text/javascript"> |
|---|
| 5 | window.onload = function() |
|---|
| 6 | { |
|---|
| 7 | var f = document.body.appendChild(document.createElement('iframe')); |
|---|
| 8 | f.height = 700; |
|---|
| 9 | f.width = 900; |
|---|
| 10 | f.onload = function() |
|---|
| 11 | { |
|---|
| 12 | var doc = f.contentWindow.document; |
|---|
| 13 | doc.designMode = 'on'; |
|---|
| 14 | // Simply opening and closing the document would cause bug #193 to happen. |
|---|
| 15 | // Try copying a link into the editing area with and without the two lines below commented out |
|---|
| 16 | // and see the difference. |
|---|
| 17 | doc.open(); |
|---|
| 18 | doc.close(); |
|---|
| 19 | } |
|---|
| 20 | } |
|---|
| 21 | </script> |
|---|
| 22 | </head> |
|---|
| 23 | <body> |
|---|
| 24 | This test case is for Firefox and Gecko based browses only. |
|---|
| 25 | </body> |
|---|
| 26 | </html> |
|---|