| <!DOCTYPE html> |
| <html> |
| <head> |
| <style> |
| td |
| { |
| position: relative; |
| height: 50px; |
| } |
| |
| input |
| { |
| position: absolute; |
| width: 100px; |
| top: 2px; |
| bottom: 2px; |
| min-height: 10px; |
| } |
| </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 <input> 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> |