summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/linebox/vertical-align-nested-top-001.html
blob: 3667ced2ca39adfdb1d90fa843ebce6249eecb4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<link rel="match" href="vertical-align-nested-top-001-ref.html">
<link rel="help" href="https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align" />
<link rel="author" href="kojii@chromium.org">
<style>
body {
  font-size: 18px;
  line-height: 20px;
}
.hb {
  font-size: 12px;
  vertical-align: top;
}
.g2 {
  vertical-align: top;
}
</style>
<body>
  <span class="hb">X<span class="g2">X</span></span>
</body>