Fix tests after r183770 on non-Mac ports. These tests are expecting Mac editing behavior.
[WebKit-https.git] / LayoutTests / editing / execCommand / strikethroughSelection.html
index e791bf2dbb90fa98ffee15a26beca692cddbdc8e..09b8bf2ca93e4e9beb1df5ba4f47fd4399ce20d1 100644 (file)
 <script>
 
 function editingTest() {
+    if (window.internals)
+        internals.settings.setEditingBehavior('mac');
 
     for (i = 0; i < 21; i++) {
-            execExtendSelectionForwardByCharacterCommand();
-            execStrikethroughCommand();
-            
+        execExtendSelectionForwardByCharacterCommand();
+        execStrikethroughCommand();
     }
  }