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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-block-adjacent-float-2.html

Issue 2880653002: Display ellipsis correctly in inline blocks adjacent to floats (Closed)
Patch Set: bug 720377 Created 3 years, 7 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-block-adjacent-float-2.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-block-adjacent-float-2.html b/third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-block-adjacent-float-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..3f1f4239910f8737d91f5ea714dab12ce61830ee
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-block-adjacent-float-2.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<meta charset='utf-8'>
+<style>
+.container {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ width: 100px;
+ height: 50px;
+}
+.rtl {
+ direction: rtl;
+}
+.float {
+ float: right;
+ width: 100px;
+ height: 50px;
+}
+span {
+ display: inline-block;
+}
+</style>
+<p>crbug.com/720377: The text below should have an ellipsis.</p>
+<p>You should see an ellipsis followed by hebrew characters.</p>
+<div class="container rtl">
+ <span>בגדהוזחטיכךל בגדהוזחטיכךל</span>
+ <div class="float" style="float:left;"></div>
+</div>
+<p>You should see hebrew and latin characters followed by an ellipsis.</p>
+<div class="container">
+ <div class="float"></div>
+ <span>בגדהוזdsjklחטdsaיכךל בגדהוזחטיכךל</span>
+</div>
+<p>You should see an ellipsis followed by hebrew and latin characters.</p>
+<div class="container rtl">
+ <div class="float" style="float:left;"></div>
+ <span>בגדהוזd sjklחט dsaיכדהו dsaזחטיכךל</span>
+</div>

Powered by Google App Engine
This is Rietveld 408576698