| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta name="viewport" content="width=800"> | 4 <meta name="viewport" content="width=800"> |
| 5 <style> | 5 <style> |
| 6 body { | 6 body { |
| 7 width: 800px; | 7 width: 800px; |
| 8 margin: 0; | 8 margin: 0; |
| 9 overflow-y: hidden; | 9 overflow-y: hidden; |
| 10 font-size: 12px; | 10 font-size: 12px; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 window.internals.settings.setTextAutosizingEnabled(true); | 30 window.internals.settings.setTextAutosizingEnabled(true); |
| 31 window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480); | 31 window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480); |
| 32 } else if (window.console && console.warn) { | 32 } else if (window.console && console.warn) { |
| 33 console.warn("This test depends on the Text Autosizing setting being true, s
o 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."); | 33 console.warn("This test depends on the Text Autosizing setting being true, s
o 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 } | 34 } |
| 35 </script> | 35 </script> |
| 36 | 36 |
| 37 </head> | 37 </head> |
| 38 <body> | 38 <body> |
| 39 <div id="description"> | 39 <div id="description"> |
| 40 Table autosizing tests - narrow-percentage-width.html<br/> | 40 Table autosizing tests - nested-table-wrapping.html<br/> |
| 41 This test passes if none of the 6 cells are autosized. | 41 This test passes if "the table cell should tightly wrap this text" is tightly wr
apped. |
| 42 </div> | 42 </div> |
| 43 <table width="25%"> | 43 <table> |
| 44 <tr> | |
| 45 <td>hello</td> | |
| 46 <td>hello</td> | |
| 47 <td>hello</td> | |
| 48 </tr> | |
| 49 <tr> | 44 <tr> |
| 50 <td> | 45 <td> |
| 51 hello | 46 Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Au
tosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize A
utosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize
Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize Autosize
Autosize Autosize Autosize Autosize |
| 52 </td> | 47 <table> |
| 53 <td> | 48 <tr> |
| 54 hello hello hello hello hello hello hello hello hello hello hello hello he
llo hello hello hello hello hello hello hello hello hello hello hello hello hell
o | 49 <td>the table cell should tightly wrap this text</td> |
| 55 </td> | 50 </tr> |
| 56 <td> | 51 </table> |
| 57 hello | |
| 58 </td> | 52 </td> |
| 59 </tr> | 53 </tr> |
| 60 </table> | 54 </table> |
| 61 </body> | 55 </body> |
| 62 </html> | 56 </html> |
| OLD | NEW |