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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <meta charset='utf-8'>
3 <style>
4 .container {
5 overflow: hidden;
6 text-overflow: ellipsis;
7 white-space: nowrap;
8 width: 100px;
9 height: 50px;
10 }
11 .rtl {
12 direction: rtl;
13 }
14 .float {
15 float: right;
16 width: 100px;
17 height: 50px;
18 }
19 span {
20 display: inline-block;
21 }
22 </style>
23 <p>crbug.com/720377: The text below should have an ellipsis.</p>
24 <p>You should see an ellipsis followed by hebrew characters.</p>
25 <div class="container rtl">
26 <span>בגדהוזחטיכךל בגדהוזחטיכךל</span>
27 <div class="float" style="float:left;"></div>
28 </div>
29 <p>You should see hebrew and latin characters followed by an ellipsis.</p>
30 <div class="container">
31 <div class="float"></div>
32 <span>בגדהוזdsjklחטdsaיכךל בגדהוזחטיכךל</span>
33 </div>
34 <p>You should see an ellipsis followed by hebrew and latin characters.</p>
35 <div class="container rtl">
36 <div class="float" style="float:left;"></div>
37 <span>בגדהוזd sjklחט dsaיכדהו dsaזחטיכךל</span>
38 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698