Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: LayoutTests/editing/selection/4889598.html

Issue 14794012: Make contenteditable="false" element as atomic node for selection motion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-05-27T14:00 Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/editing/selection/4889598.html
diff --git a/LayoutTests/editing/selection/4889598.html b/LayoutTests/editing/selection/4889598.html
deleted file mode 100644
index 435e8da9a294ccee2b6c2e92bdcd000ca61ad45f..0000000000000000000000000000000000000000
--- a/LayoutTests/editing/selection/4889598.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<p>This tests for a bug moving down by a line from a line just above a ToDo, and moving up by a line from just below a ToDo.</p>
-<div id="div" contenteditable="true">
-<div id="above">Click anywhere in this line and move down.</div>
-<table border="1" contenteditable="false"><tr><td>The caret <span style="color: blue;" contenteditable="true">should</span> always go into the editable region.</td></tr></table>
-<div id="below">Click anywhere in this line and move up.</div>
-</div>
-
-<script>
-if (window.testRunner)
- window.testRunner.dumpEditingCallbacks();
-var selection = window.getSelection();
-var above = document.getElementById("above").firstChild;
-selection.setPosition(above, 0);
-selection.modify("move", "forward", "line");
-selection.setPosition(above, above.length);
-selection.modify("move", "forward", "line");
-var below = document.getElementById("below").firstChild;
-selection.setPosition(below, 0);
-selection.modify("move", "backward", "line");
-selection.setPosition(below, below.length);
-selection.modify("move", "backward", "line");
-</script>

Powered by Google App Engine
This is Rietveld 408576698