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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/text/place-ellipsis-in-inline-blocks-align-center.html

Issue 2699393002: Place ellipsis correctly inside inline-blocks (Closed)
Patch Set: bug 133700 Created 3 years, 9 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 div {
5 width: 55px;
6 font: 12px;
7 overflow: hidden;
8 text-overflow: ellipsis;
9 white-space: nowrap;
10 text-align: center;
11 }
12 .rtl {
13 direction: rtl;
14 }
15 span {
16 display: inline-block;
17 }
18 </style>
19 <p>crbug.com/133700: Ellipsis placed correctly in rtl text in an inline-block wt h an rtl flow.</p>
20
21 <p>You should see abcdef... below.</p>
22 <div>
23 <span>abc</span><span>def</span><span>ghi</span>
24 </div>
25
26 <p>You should see ...defabc below.</p>
27 <div class="rtl">
28 <span>abc</span><span>def</span><span>ghi</span>
29 </div>
30
31 <p>You should see abcde... then abcde... below.</p>
32 <div>
33 <span>abcdefghijklm<br>abcdefghijklm</span><span>ghi</span><span>jkl</span >
34 </div>
35
36 <p>You should see ...hijklm then ...hijklm below.</p>
37 <div class="rtl">
38 <span>abcdefghijklm<br>abcdefghijklm</span><span>ghi</span><span>jkl</span >
39 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698