summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-shadow/overflow-decoration-ref.html
blob: a48858544276ad8a29e367829d7dfcfc3ca70245 (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
<!DOCTYPE html>
<html>
<head>
<style>
  .outer {
    text-decoration: underline;
    position: absolute;
  }
  .outer+.outer {
    color: green;
  }
  .inner {
    vertical-align: 1em;
  }
  .outer+.outer>.inner {
    position: relative;
    top: 1em;
  }
</style>
</head>
<body>
  <span class="outer"><span class="inner">x</span></span>
  <span class="outer"><span class="inner">x</span></span>
</body>
</html>