39 lines
935 B
HTML
39 lines
935 B
HTML
<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 “<span style="color: green;">A</span>-Z”.
|
|
</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>
|