Fix tests after r183770 on non-Mac ports. These tests are expecting Mac editing behavior.
[WebKit-https.git] / LayoutTests / editing / execCommand / strikethroughSelection.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     if (window.internals)
17         internals.settings.setEditingBehavior('mac');
18
19     for (i = 0; i < 21; i++) {
20         execExtendSelectionForwardByCharacterCommand();
21         execStrikethroughCommand();
22     }
23  }
24
25 </script>
26
27 <title>Editing Test</title> 
28 </head> 
29 <body>
30 <p>This test striking through the first 21st letters.  Every letter including spaces before "jumps" must be striked.</p>
31 <div contenteditable id="root" class="editing">
32 <span id="test">"The quick brown fox jumps over the lazy dog" uses every
33 letter in the english language.
34 </span>
35 </div>
36
37 <script>
38 runDumpAsTextEditingTest();
39 </script>
40
41 </body>
42 </html>