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

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: make p default to display: paragraph 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
« no previous file with comments | « sky/tests/layout/document-elementFromPoint.sky ('k') | sky/tests/layout/ellipsis-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 { 4 p {
5 width: 50px; 5 width: 50px;
6 text-overflow: ellipsis; 6 text-overflow: ellipsis;
7 overflow: hidden; 7 overflow: hidden;
8 white-space: nowrap; 8 white-space: nowrap;
9 border: 3px solid blue;
10 }
11 p {
12 width: 50px;
13 display: paragraph;
14 text-overflow: ellipsis;
15 overflow: hidden;
16 white-space: nowrap;
17 border: 3px solid red; 9 border: 3px solid red;
18 } 10 }
19 span { 11 span {
20 display: inline; 12 display: inline;
21 } 13 }
22 </style> 14 </style>
23 <div>These lines <p>should</p> all ellipsize. </div> 15 <p>These lines <p>should</p> all ellipsize. </p>
24 <p><span>As should this.</span></p> 16 <p><span>As should this.</span></p>
25 </sky> 17 </sky>
OLDNEW
« no previous file with comments | « sky/tests/layout/document-elementFromPoint.sky ('k') | sky/tests/layout/ellipsis-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698