Remove no-longer-needed print-specific 'height' for file input widgets.
Differential Revision: https://phabricator.services.mozilla.com/D141169
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=133984
gecko-commit: 930c93ea3cba0056587084c54350840c31580b23
gecko-reviewers: emilio
diff --git a/css/printing/input-file-print-ref.html b/css/printing/input-file-print-ref.html
new file mode 100644
index 0000000..fb5255e
--- /dev/null
+++ b/css/printing/input-file-print-ref.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<head>
+ <meta charset="utf-8">
+ <title>Reference case</title>
+ <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=133984">
+ <style>
+ input[type="file"] { height: auto; }
+ .with-outline {
+ outline: 2px solid teal;
+ }
+ .wrapper {
+ border: 2px solid fuchsia;
+ }
+ </style>
+</head>
+<body>
+ <input type="file">
+ <br><br>
+ <input type="file" class="with-outline">
+ <br><br>
+ <div class="wrapper"><input type="file"></div>
+</body>
diff --git a/css/printing/input-file-print.html b/css/printing/input-file-print.html
new file mode 100644
index 0000000..a070024
--- /dev/null
+++ b/css/printing/input-file-print.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<head>
+ <meta charset="utf-8">
+ <title>Test that file-input widgets have 'auto' height (not some other arbitrary value) when printed</title>
+ <meta name="assert" content="file-input widgets should have 'auto' height (not some other arbitrary value) when printed">
+ <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=133984">
+ <link rel="match" href="input-file-print-ref.html">
+ <style>
+ .with-outline {
+ outline: 2px solid teal;
+ }
+ .wrapper {
+ border: 2px solid fuchsia;
+ }
+ </style>
+</head>
+<body>
+ <input type="file">
+ <br><br>
+ <input type="file" class="with-outline">
+ <br><br>
+ <div class="wrapper"><input type="file"></div>
+</body>