Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / text-autosizing / tables / single-percent-width-cell-lots-of-text.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 - single-percent-width-cell-lots-of-text.html<br/>
41 This test passes if there is a one cell with lots of text that's autosized, and five cells that are not autosized.
42 </div>
43 <table>
44   <tr>
45     <td>hello</td>
46     <td>hello</td>
47     <td>hello</td>
48   </tr>
49   <tr>
50     <td>
51       hello
52     </td>
53     <td width="30%">
54       hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello
55     </td>
56     <td>
57       hello
58     </td>
59   </tr>
60 </table>
61 </body>
62 </html>