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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-block-adjacent-float.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-block-adjacent-float-2.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-block-adjacent-float.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-block-adjacent-float.html b/third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-block-adjacent-float.html
new file mode 100644
index 0000000000000000000000000000000000000000..d1605c2294f7c5691c26c1d96348cf28cb2d7b45
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-block-adjacent-float.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 something like 'This text sho...' below.</p>
+<div class="container">
+ <div class="float"></div>
+ <span>This text should have an ellipsis.</span>
+</div>
+<p>You should see something like '...ave an ellipsis' below.</p>
+<div class="container rtl">
+ <span>This text should have an ellipsis.</span>
+ <div class="float" style="float:left;"></div>
+</div>
+<p>You should see hebrew characters followed by an ellipsis.</p>
+<div class="container">
+ <div class="float"></div>
+ <span>בגדהוזחטיכךל בגדהוזחטיכךל</span>
+</div>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-block-adjacent-float-2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698