summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-decoration/dynamic-underline-vertical-align-quirks-2.html
blob: 52d5c5b62e05f24d73db288ee327e86fea02f162 (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
<html class="reftest-wait">
<head>
<script type="text/javascript">
function addUnderline() {
  var element = document.getElementById("dynamicUnderline");
  element.style.textDecoration = "underline";
  document.documentElement.removeAttribute("class");
}
document.addEventListener('MozReftestInvalidate', addUnderline, false);
</script>
<style>
.align-bottom {
  vertical-align: bottom;
}
.align-top {
  vertical-align: top;
}
</style>
</head>
<body>
<p id="dynamicUnderline">
<span class="align-bottom">This line has only a bottom vertical align span.</span> <br />
<span class="align-top">This line has a top vertical align span.</span>
</p>
</body>
</html>