diff options
Diffstat (limited to 'testing/web-platform/tests/html/rendering/widgets/input-date-baseline.html')
-rw-r--r-- | testing/web-platform/tests/html/rendering/widgets/input-date-baseline.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/rendering/widgets/input-date-baseline.html b/testing/web-platform/tests/html/rendering/widgets/input-date-baseline.html new file mode 100644 index 0000000000..0d8f46c064 --- /dev/null +++ b/testing/web-platform/tests/html/rendering/widgets/input-date-baseline.html @@ -0,0 +1,25 @@ +<!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> |