OLD | NEW |
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> |
OLD | NEW |