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