Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / text-autosizing / tables / fixed-table-lots-of-text-many-cells.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta name="viewport" content="width=800">
5 <style>
6   body {
7     width: 800px;
8     margin: 0;
9     overflow-y: hidden;
10     font-size: 12px;
11   }
12   #description {
13     overflow: clip;
14     width: 600px;
15     height: 3em;
16   }
17   table {
18     outline: 1px solid black;
19     margin: 1px;
20     border-collapse: collapse;
21   }
22   td {
23     background-color: honeydew;
24     border: 1px dotted darkgreen;
25   }
26   .fixed {
27     table-layout: fixed;
28   }
29 </style>
30
31 <script>
32 if (window.internals) {
33     window.internals.settings.setTextAutosizingEnabled(true);
34     window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
35 } else if (window.console && console.warn) {
36     console.warn("This test depends on the Text Autosizing setting being true, so run it in DumpRenderTree, or manually enable Text Autosizing, and either use a mobile device with 320px device-width (like Nexus S or iPhone), or define HACK_FORCE_TEXT_AUTOSIZING_ON_DESKTOP.");
37 }
38 </script>
39
40 </head>
41 <body>
42 <div id="description">
43 Table autosizing tests - fixed-table-lots-of-text-many-cells.html<br/>
44 This test passes if none of the 18 cells are autosized.
45 </div>
46 <table class="fixed">
47   <tr>
48     <td>hello</td>
49     <td>hello hello hello hello hello hello hello</td>
50     <td>hello hello hello hello hello hello hello</td>
51     <td>hello hello hello hello hello hello hello</td>
52     <td>hello hello hello hello hello hello hello</td>
53     <td>hello hello hello hello hello hello hello</td>
54   </tr>
55   <tr>
56     <td>hello hello hello hello hello hello hello</td>
57     <td>hello hello hello hello hello hello hello</td>
58     <td>hello hello hello hello hello hello hello</td>
59     <td>hello hello hello hello hello hello hello</td>
60     <td>hello hello hello hello hello hello hello</td>
61     <td>hello hello hello hello hello hello hello</td>
62   </tr>
63   <tr>
64     <td>hello hello hello hello hello hello hello</td>
65     <td>hello hello hello hello hello hello hello</td>
66     <td>hello hello hello hello hello hello hello</td>
67     <td>hello hello hello hello hello hello hello</td>
68     <td>hello hello hello hello hello hello hello</td>
69     <td>hello hello hello hello hello hello hello</td>
70   </tr>
71 </table>
72 </body>
73 </html>