| Index: third_party/WebKit/LayoutTests/fast/text/ellipsis-rtl-text-in-rtl-flow-underline-composition.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/text/ellipsis-rtl-text-in-rtl-flow-underline-composition.html b/third_party/WebKit/LayoutTests/fast/text/ellipsis-rtl-text-in-rtl-flow-underline-composition.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c550d52c095a67f0608360e72f442c65ab105874
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/text/ellipsis-rtl-text-in-rtl-flow-underline-composition.html
|
| @@ -0,0 +1,23 @@
|
| +<!DOCTYPE html>
|
| +<meta charset='utf-8'>
|
| +<style>
|
| +div {
|
| + width: 125px;
|
| + height: 20px;
|
| + font: 12px;
|
| + overflow: hidden;
|
| + white-space: pre;
|
| + text-overflow: ellipsis;
|
| + direction: rtl;
|
| +}
|
| +</style>
|
| +<p>crbug.com/636060: rtl text in a rtl flow should truncate the text left-to-right and underline correctly in composition mode.</p>
|
| +<p>You should see an underline beneath the text.</p>
|
| +<div id="textarea" contenteditable="true"></div>
|
| +<script>
|
| +if (window.testRunner) {
|
| + var textarea = document.getElementById("textarea");
|
| + textarea.focus();
|
| + textInputController.setComposition("אבגדהוזחטיכךלמםסעפףצץקרשת<");
|
| +}
|
| +</script>
|
|
|