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="../../resources/js-test.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
> |
11 </div> | 11 </div> |
12 | 12 |
13 <script> | 13 <script> |
14 description("Spell check markers should be removed from the whole page when disa
bling spell checker but " + | 14 description("Spell check markers should be removed from the whole page when disa
bling spell checker but " + |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 </body> | 55 </body> |
56 </html> | 56 </html> |
OLD | NEW |