Index: LayoutTests/editing/undo/undo-combined-delete-boundary-linux-behavior.html |
diff --git a/LayoutTests/editing/undo/undo-combined-delete-boundary.html b/LayoutTests/editing/undo/undo-combined-delete-boundary-linux-behavior.html |
similarity index 64% |
copy from LayoutTests/editing/undo/undo-combined-delete-boundary.html |
copy to LayoutTests/editing/undo/undo-combined-delete-boundary-linux-behavior.html |
index 1f48f1ef11832bdabe0337538125c681be0239cc..8e249a5b325e8dcf43bcc596574277aa6200dcb9 100644 |
--- a/LayoutTests/editing/undo/undo-combined-delete-boundary.html |
+++ b/LayoutTests/editing/undo/undo-combined-delete-boundary-linux-behavior.html |
@@ -1,11 +1,11 @@ |
-<html> |
+<html> |
<head> |
<style> |
-.editing { |
- border: 2px solid red; |
- padding: 12px; |
- font-size: 24px; |
+.editing { |
+ border: 2px solid red; |
+ padding: 12px; |
+ font-size: 24px; |
} |
</style> |
<script src="../editing.js" language="JavaScript" type="text/JavaScript" ></script> |
@@ -26,15 +26,15 @@ function editingTest() { |
</script> |
-</head> |
+</head> |
<body> |
<div contenteditable id="root" class="editing"> |
-<span id="test">This wo<b>rd </b>should be selected, since the test deleted it a character at a time and then did an undo.</span> |
+<span id="test">This wo<b>rd </b>should not be selected, and the caret should be after 'o' in 'word' since the test began deleting operation starting from 'o' and then did an undo.</span> |
</div> |
<script> |
if (window.internals) |
- internals.settings.setEditingBehavior("mac"); |
+ internals.settings.setEditingBehavior("unix"); |
runEditingTest(); |
</script> |