OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body onload="test(document.getElementById('destination'), document.getElementBy
Id('frame').contentWindow.document);"> | 6 <body onload="test(document.getElementById('destination'), document.getElementBy
Id('frame').contentWindow.document);"> |
7 <pre id="console"></pre> | 7 <pre id="console"></pre> |
8 <div id="container"> | 8 <div id="container"> |
9 <div id="destination" contentEditable></div> | 9 <div id="destination" contentEditable></div> |
10 <iframe id="frame" src="data:text/html,<body contenteditable></body>"></iframe
> | 10 <iframe id="frame" src="data:text/html,<body contenteditable></body>"></iframe
> |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 shouldBe('internals.markerCountForNode(destination_elm.childNodes[0], "spell
ing")', '0'); | 45 shouldBe('internals.markerCountForNode(destination_elm.childNodes[0], "spell
ing")', '0'); |
46 shouldBe('internals.markerCountForNode(destination_elm_in_frame.childNodes[0
], "spelling")', '0'); | 46 shouldBe('internals.markerCountForNode(destination_elm_in_frame.childNodes[0
], "spelling")', '0'); |
47 destination_elm.focus(); | 47 destination_elm.focus(); |
48 internals.setContinuousSpellCheckingEnabled(true); | 48 internals.setContinuousSpellCheckingEnabled(true); |
49 shouldBe('internals.markerCountForNode(destination_elm.childNodes[0], "spell
ing")', '1'); | 49 shouldBe('internals.markerCountForNode(destination_elm.childNodes[0], "spell
ing")', '1'); |
50 | 50 |
51 finishJSTest(); | 51 finishJSTest(); |
52 } | 52 } |
53 | 53 |
54 </script> | 54 </script> |
55 <script src="../../fast/js/resources/js-test-post.js"></script> | |
56 </body> | 55 </body> |
57 </html> | 56 </html> |
OLD | NEW |