blob: 723a83424e78ac20a769c5e731e49f6e2848f256 [file] [log] [blame]
<!DOCTYPE html>
<meta name="viewport" content="width=800">
html { font-size: 16px; }
body { width: 400px; margin: 0; overflow-y: hidden; }
table { border-spacing: 0; }
td { padding: 0; }
.yellow { background-color: yellow; }
<script src="resources/autosizingTest.js"></script>
<table style="width: 700px">
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.
<table class="yellow"><tr>