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

Unified Diff: LayoutTests/editing/caret/caret-pointer-direction-LTR.html

Issue 275563003: Change caret to show language direction (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Comment fixes Created 6 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/caret/caret-pointer-direction-LTR.html
diff --git a/LayoutTests/editing/caret/caret-pointer-direction-LTR.html b/LayoutTests/editing/caret/caret-pointer-direction-LTR.html
new file mode 100644
index 0000000000000000000000000000000000000000..553099c123b4e9b753e378289aff98225fbe86ff
--- /dev/null
+++ b/LayoutTests/editing/caret/caret-pointer-direction-LTR.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+<style>
+.editing {
+ border: 2px solid red;
+ padding: 12px;
+ font-size: 24px;
+ width: 400px;
+ direction: ltr;
+ unicode-bidi: -webkit-isolate;
+}
+</style>
+<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
+
+<script>
+
+function editingTest() {
+ moveSelectionForwardByLineCommand();
+ moveSelectionLeftByCharacterCommand();
+}
+
+</script>
+
+<title>Caret LTR Direction Test</title>
+</head>
+<body>
+<p>Tests display caret direction (LTR) as per Input.
+</p>
+<div contenteditable id="root" class="editing">
+<span id="test">Caret in LTR Language</span>
+</div>
+
+<script>
+runEditingTest();
+</script>
+
+</body>
+</html>
+
+
« no previous file with comments | « no previous file | LayoutTests/editing/caret/caret-pointer-direction-LTR-expected.txt » ('j') | Source/core/editing/Caret.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698