Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/rendering/widgets/input-date-baseline-print.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>date input baseline shouldn't be insane when printing</title>
<link rel="match" href="input-date-baseline-ref.html">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
div {
border: 1px solid black;
line-height: 0;
}
input {
height: 20px;
font: 20px/1 Ahem;
box-sizing: border-box;
padding: 1px; /* Needed to trigger the bug */
border: 0;
visibility: hidden;
-webkit-appearance: none;
appearance: none;
}
</style>
<div>
<input type="date">
</div>