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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/ellipsis-rtl-text-in-rtl-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-rtl-flow.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/ellipsis-rtl-text-in-rtl-flow.html b/third_party/WebKit/LayoutTests/fast/text/ellipsis-rtl-text-in-rtl-flow.html
new file mode 100644
index 0000000000000000000000000000000000000000..0f179e543f46343f9e39df26dd7d06600ee37e39
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/text/ellipsis-rtl-text-in-rtl-flow.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<meta charset='utf-8'>
+<style>
+div {
+ width: 125px;
+ font: 12px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ direction: rtl;
+}
+</style>
+<p>crbug.com/155836: Rtl text in a rtl flow should truncate the text right-to-left.</p>
+<p>You should see ...אבגדהוזחטיכךלמםס below</p>
+<div>אבגדהוזחטיכךלמםסעפףצץקרשת</div>
+

Powered by Google App Engine
This is Rietveld 408576698