summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/quirks/historical/vertical-align-in-quirks.html
blob: c07672430442329a6387ee3b77adfbe82708b368 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<meta charset="utf-8">
<title>CSS Text level 3 Test: letter spacing after bidi</title>
<link rel="author" href="kojii@chromium.org">
<link rel="match" href="reference/vertical-align-in-quirks-ref.html">
<meta name="assert" content="Tests some vertical-align values match in quirks and standard modes.">
<style>
div {
  font-size: 10px;
  line-height: 50px;
  border: 1px solid blue;
}
img {
  width: 1em;
  height: 2em;
  background: orange;
  border: 1px solid black;
}
.text-top {
  vertical-align: text-top;
}
.text-bottom {
  vertical-align: text-bottom;
}
.top {
  vertical-align: top;
}
.bottom {
  vertical-align: bottom;
}
</style>
<body>
  <div>
    <img class="text-top" src="/css/support/60x60-red.png">Y
  </div>
  <div>
    <img class="text-bottom" src="/css/support/60x60-red.png">Y
  </div>
  <div>
    <img class="top" src="/css/support/60x60-red.png">Y
  </div>
  <div>
    <img class="bottom" src="/css/support/60x60-red.png">Y
  </div>
  <div>
    <img class="text-top" src="/css/support/60x60-red.png"><span>Y</span>
  </div>
  <div>
    <img class="text-bottom" src="/css/support/60x60-red.png"><span>Y</span>
  </div>
  <div>
    <img class="top" src="/css/support/60x60-red.png"><span>Y</span>
  </div>
  <div>
    <img class="bottom" src="/css/support/60x60-red.png"><span>Y</span>
  </div>
</body>