blob: b5737e8772790f6bd73c1bf712cbaaf2340fc044 [file] [log] [blame]
<html>
<head>
<style>
p.firstLetter:first-letter {
float: left;
color: green;
}
</style>
</head>
<body>
<p>
Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=17834">http://bugs.webkit.org/show_bug.cgi?id=17834</a>
REGRESSION: floated first-letter does not work when included in table</i>.
</p>
<p>
The following three lines should look like &ldquo;<span style="color: green;">A</span>-Z&rdquo;.
</p>
<table>
<tbody>
<tr>
<td>
<div><p class="firstLetter">A-Z</p></div>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td>
<p class="firstLetter">A-Z</p>
</td>
</tr>
</tbody>
</table>
<p class="firstLetter">A-Z</p>
</body>
</html>