Move all test results that are platform dependent but
[WebKit-https.git] / LayoutTests / editing / spelling / spelling.html
1 <html> 
2 <head>
3
4 <style>
5 .editing { 
6     border: 2px solid red; 
7     padding: 12px; 
8     font-size: 24px; 
9 }
10 </style>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
12
13 <script>
14
15 function editingTest() {
16     typeCharacterCommand('a');
17     insertParagraphCommand();
18     typeCharacterCommand('z');
19     typeCharacterCommand('z');
20     typeCharacterCommand(' ');
21 }
22
23 </script>
24
25 <title>Editing Test</title> 
26 </head> 
27 <body>
28 <div>You should see 'a' on the first line below, and 'zz a' on the second line. 'zz' (and only 'zz') should be marked as misspelled.</div>
29 <div contenteditable id="root" class="editing">
30 <span id="test">a</span>
31 </div>
32
33 <script>
34 runEditingTest();
35 </script>
36
37 </body>
38 </html>