summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/number/number-max-height-2.html
blob: ff118ea2382daa88d99d8db0e269d08f4e181dc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html>
  <head>
    <style>

input {
  border: 3px solid black;
  padding: 4px;
  width: 300px;
  height: 300px;
  max-height: 100px;
  box-sizing: border-box;
  /* hide the spin buttons: */
  -moz-appearance: textfield;
}

* > input[type=number] {
  /* get rid of background gradient for Firefox OS */
  background-color: transparent ! important;
}

    </style>
  </head>
  <body>
    <input type="number">
  </body>
</html>