| Index: LayoutTests/fast/text-autosizing/nested-table-long-word-2.html
|
| diff --git a/LayoutTests/fast/text-autosizing/nested-table-long-word-2.html b/LayoutTests/fast/text-autosizing/nested-table-long-word-2.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..723a83424e78ac20a769c5e731e49f6e2848f256
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/text-autosizing/nested-table-long-word-2.html
|
| @@ -0,0 +1,34 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<meta name="viewport" content="width=800">
|
| +<style>
|
| + html { font-size: 16px; }
|
| + body { width: 400px; margin: 0; overflow-y: hidden; }
|
| + table { border-spacing: 0; }
|
| + td { padding: 0; }
|
| + .yellow { background-color: yellow; }
|
| +</style>
|
| +<script src="resources/autosizingTest.js"></script>
|
| +</head>
|
| +<body>
|
| +<table style="width: 700px">
|
| + <tr><td>
|
| + <table><tr>
|
| + <td>
|
| + This test passes if the yellow highlight fully covers the long text
|
| + without spaces in the cell below. This ensures the inner table is
|
| + inflated before the preferred width calculation occurs.
|
| + </td>
|
| + </tr></table>
|
| + </td></tr>
|
| + <tr><td>
|
| + <table class="yellow"><tr>
|
| + <td><div>
|
| + text...text...text...text...text...text...text...text...text...end!
|
| + </div></td>
|
| + </tr></table>
|
| + </td></tr>
|
| +</table>
|
| +</body>
|
| +</html>
|
|
|