summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/button/vertical-centering.html
blob: 08ca3851918713356fb72195444efccf77b89184 (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
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head>
<style>
input, div {
    height: 100px;
    display: inline-block;
    border: 0;
    padding: 0;

    font: 2em sans-serif;

    background: transparent;
    color: black;
}
input {
    -moz-appearance: none;
}
input::-moz-focus-inner {
    padding: 0;
    border: 0;
}
div {
    line-height: 100px;
    text-align: center;
}
</style>
</head>
<body>
<input type='button' value='button' />
<div>button</div>
</body>
</html>