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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-blocks-align-justify.html

Issue 2699393002: Place ellipsis correctly inside inline-blocks (Closed)
Patch Set: bug 133700 Created 3 years, 10 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/place-ellipsis-in-inline-blocks-align-justify.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-blocks-align-justify.html b/third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-blocks-align-justify.html
new file mode 100644
index 0000000000000000000000000000000000000000..1101a1d6387a48fb58cc0c282fd0e0531ce29667
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-blocks-align-justify.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<meta charset='utf-8'>
+<style>
+div {
+ width: 55px;
+ font: 12px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ text-align: justify;
+}
+.rtl {
+ direction: rtl;
+}
+span {
+ display: inline-block;
+}
+</style>
+<p>crbug.com/133700: Ellipsis placed correctly in rtl text in an inline-block wth an rtl flow.</p>
+
+<p>You should see abcdef... below.</p>
+<div>
+ <span>abc</span><span>def</span><span>ghi</span>
+</div>
+
+<p>You should see ...defabc below.</p>
+<div class="rtl">
+ <span>abc</span><span>def</span><span>ghi</span>
+</div>
+
+<p>You should see abcde... then abcde... below.</p>
+<div>
+ <span>abcdefghijklm<br>abcdefghijklm</span><span>ghi</span><span>jkl</span>
+</div>
+
+<p>You should see ...hijklm then ...hijklm below.</p>
+<div class="rtl">
+ <span>abcdefghijklm<br>abcdefghijklm</span><span>ghi</span><span>jkl</span>
+</div>

Powered by Google App Engine
This is Rietveld 408576698