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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/ellipsis-rtl-text-in-ltr-flow.html

Issue 1916943002: Show correct part of truncated text before ellipsis in contrary flow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@604144
Patch Set: Updated Created 4 years, 8 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: third_party/WebKit/LayoutTests/fast/text/ellipsis-rtl-text-in-ltr-flow.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/ellipsis-rtl-text-in-ltr-flow.html b/third_party/WebKit/LayoutTests/fast/text/ellipsis-rtl-text-in-ltr-flow.html
new file mode 100644
index 0000000000000000000000000000000000000000..58db1c86ffabb769946e935bbbc25b5c23dae935
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/text/ellipsis-rtl-text-in-ltr-flow.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<meta charset='utf-8'>
+<style>
+div {
+ width: 125px;
+ font: 12px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ direction: ltr;
+}
+</style>
+<p>crbug.com/155836: Rtl text in a ltr flow should truncate the text left-to-right.</p>
+<p>You should see ךלמםסעפףצץקרשת... below</p>
+<div>אבגדהוזחטיכךלמםסעפףצץקרשת</div>
+

Powered by Google App Engine
This is Rietveld 408576698