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

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

Issue 2529243002: Skip leading space in ltr text in rtl flow when placing ellipsis (Closed)
Patch Set: bug 667128 Created 4 years 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-ltr-text-in-rtl-flow-leading-space.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/ellipsis-ltr-text-in-rtl-flow-leading-space.html b/third_party/WebKit/LayoutTests/fast/text/ellipsis-ltr-text-in-rtl-flow-leading-space.html
new file mode 100644
index 0000000000000000000000000000000000000000..e902bbc5db0105a5f4b0e145bfdfde58df5429d7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/text/ellipsis-ltr-text-in-rtl-flow-leading-space.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<style>
+ .container {
+ width: 6em;
+ }
+ .container > div {
+ overflow: hidden;
+ }
+ .ellipsis {
+ text-overflow: ellipsis;
+ direction: rtl;
+ }
+</style>
+<p>crbug.com/667128: Ignore leading space when handling ellipsis on ltr text in an rtl flow.</p>
+<p>The ellipsis should not overlap the text.</p>
+<div class="container">
+ <div class="ellipsis">
+ ButtonWithAReallyLongNameButtonWithAReallyLongName
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698