OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 #cell { | 5 #cell { |
6 font: menu; | 6 font: menu; |
7 background-color: skyblue; | 7 background-color: skyblue; |
8 padding-left: .73em; | 8 padding-left: .73em; |
9 white-space: nowrap; | 9 white-space: nowrap; |
10 } | 10 } |
11 #display-cell { | 11 #display-cell { |
12 font: menu; | 12 font: menu; |
13 background-color: green; | 13 background-color: green; |
14 display: table-cell; | 14 display: table-cell; |
15 padding-left: .73em; | 15 padding-left: .73em; |
16 white-space: nowrap; | 16 white-space: nowrap; |
17 } | 17 } |
18 </style> | 18 </style> |
19 <script src="../js/resources/js-test-pre.js"></script> | 19 <script src="../../resources/js-test.js"></script> |
20 </head> | 20 </head> |
21 <body> | 21 <body> |
22 <table> | 22 <table> |
23 <tr> | 23 <tr> |
24 <td id="cell">Should not wrap</td> | 24 <td id="cell">Should not wrap</td> |
25 </tr> | 25 </tr> |
26 </table> | 26 </table> |
27 <div id="display-cell">Should not wrap</div> | 27 <div id="display-cell">Should not wrap</div> |
28 | 28 |
29 <script> | 29 <script> |
(...skipping 15 matching lines...) Expand all Loading... |
45 testFailed(description + ' wrapps.'); | 45 testFailed(description + ' wrapps.'); |
46 } | 46 } |
47 | 47 |
48 testHeight('cell', 'table cell'); | 48 testHeight('cell', 'table cell'); |
49 testHeight('display-cell', 'display: table-cell'); | 49 testHeight('display-cell', 'display: table-cell'); |
50 | 50 |
51 | 51 |
52 </script> | 52 </script> |
53 </body> | 53 </body> |
54 </html> | 54 </html> |
OLD | NEW |