summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/datetime/time-small-width.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/input/datetime/time-small-width.html')
-rw-r--r--layout/reftests/forms/input/datetime/time-small-width.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/forms/input/datetime/time-small-width.html b/layout/reftests/forms/input/datetime/time-small-width.html
new file mode 100644
index 0000000000..f76f7fdfa9
--- /dev/null
+++ b/layout/reftests/forms/input/datetime/time-small-width.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+input {
+ width: 10px;
+ height: 1.5em;
+ outline: 1px dotted black;
+ color: white;
+ background: white;
+ /* Disable baseline alignment, so that our y-position isn't influenced by the
+ * choice of font inside of input: */
+ vertical-align: top;
+}
+ </style>
+ </head>
+ <body>
+ <input type="time">
+ </body>
+</html>