Files
Emilio Cobos Álvarez 498bdbed55 Bug 1667510 - Make UA widgets in print documents more static. r=smaug
This ensures that styles from UA widgets apply. Turns out they look
pretty much right without them, but there's a bug in nsDateTimeBoxFrame
where we rely on the styles in order for the baseline to be sensible.

Differential Revision: https://phabricator.services.mozilla.com/D91616
2020-09-29 10:31:48 +00:00

26 lines
589 B
HTML

<!doctype html>
<title>date input baseline shouldn't be insane</title>
<link rel="match" href="input-date-baseline-ref.html">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1667510">
<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>