blob: 76c4a192ab4b6e71437aba23a99b9e40a1dfb9e2 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
td
{
position: relative;
height: 50px;
}
input
{
position: absolute;
width: 100px;
top: 2px;
bottom: 2px;
}
</style>
</head>
<p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=89209">89209</a>: REGRESSION(r112113): absolutely positioned INPUT boxes with a table cell containing block have a 0px height</p>
<p>This test passes if you can see some text inside the &lt;input&gt; boxes</p>
<table>
<tr>
<td>Single line text input</td>
<td><input type="number" value="1"></input></td>
</tr>
<tr>
<td>Text input <br/> spanning <br/> multiple lines.</td>
<td><input type="date" value="2000-01-01"></input></td>
</tr>
</table>
</html>