blob: ef955852b954c5d4d658a3d552946a57c8b716d0 [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; }
<table style="width: 700px">
<td style="font-size: 2.1875rem">
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>
<td><div style="font-size: 2.1875rem">