Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / text-autosizing / tables / 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 </style>
27
28 <script>
29 if (window.internals) {
30     window.internals.settings.setTextAutosizingEnabled(true);
31     window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
32 } else if (window.console && console.warn) {
33     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.");
34 }
35 </script>
36
37 </head>
38 <body>
39 <div id="description">
40 Table autosizing tests - lots-of-text-many-cells.html<br/>
41 This test passes if none of the 18 cells are autosized.
42 </div>
43 <table>
44   <tr>
45     <td>hello</td>
46     <td>hello hello hello hello hello hello hello</td>
47     <td>hello hello hello hello hello hello hello</td>
48     <td>hello hello hello hello hello hello hello</td>
49     <td>hello hello hello hello hello hello hello</td>
50     <td>hello hello hello hello hello hello hello</td>
51   </tr>
52   <tr>
53     <td>hello hello hello hello hello hello hello</td>
54     <td>hello hello hello hello hello hello hello</td>
55     <td>hello hello hello hello hello hello hello</td>
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   </tr>
60   <tr>
61     <td>hello hello hello hello hello hello hello</td>
62     <td>hello hello hello hello hello hello hello</td>
63     <td>hello hello hello hello hello hello hello</td>
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   </tr>
68 </table>
69 </body>
70 </html>