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

Side by Side Diff: sky/tests/layout/ellipsis.sky

Issue 1077473002: Stop rendering text inside flex boxes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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
1 <sky> 1 <sky>
2 <import src="../resources/dump-as-render-tree.sky" /> 2 <import src="../resources/dump-as-render-tree.sky" />
3 <style> 3 <style>
4 div {
5 width: 50px;
6 text-overflow: ellipsis;
7 overflow: hidden;
8 white-space: nowrap;
9 border: 3px solid blue;
10 }
11 p { 4 p {
12 width: 50px; 5 width: 50px;
13 display: paragraph; 6 display: paragraph;
14 text-overflow: ellipsis; 7 text-overflow: ellipsis;
15 overflow: hidden; 8 overflow: hidden;
16 white-space: nowrap; 9 white-space: nowrap;
17 border: 3px solid red; 10 border: 3px solid red;
18 } 11 }
19 span { 12 span {
20 display: inline; 13 display: inline;
21 } 14 }
22 </style> 15 </style>
23 <div>These lines <p>should</p> all ellipsize. </div> 16 <p>These lines <p>should</p> all ellipsize. </p>
24 <p><span>As should this.</span></p> 17 <p><span>As should this.</span></p>
25 </sky> 18 </sky>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698