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

Unified Diff: third_party/WebKit/LayoutTests/paint/selection/text-selection-with-composition.html

Issue 2896273003: Show selection highlight even if we have a composition underline (Closed)
Patch Set: Add test case baselines Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/platform/linux/paint/selection/text-selection-with-composition-expected.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/paint/selection/text-selection-with-composition.html
diff --git a/third_party/WebKit/LayoutTests/paint/selection/text-selection-with-composition.html b/third_party/WebKit/LayoutTests/paint/selection/text-selection-with-composition.html
new file mode 100644
index 0000000000000000000000000000000000000000..3f52a2d2506849df6f4c38c7d9f04be8e5522afd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/selection/text-selection-with-composition.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
chrishtr 2017/06/01 00:47:07 You can use testharnness to avoid the -expected.tx
+<html>
+<head>
+<script>
+function runTest() {
+ if (!window.testRunner)
+ return;
+
+ var input = document.getElementById('test');
+ input.focus();
+ textInputController.setComposition('Hello, world!');
+ input.selectionStart = 0;
+ input.selectionEnd = 13;
+}
+</script>
+</head>
+<body onload="runTest()">
+<input id="test" />
+</body>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/platform/linux/paint/selection/text-selection-with-composition-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698