summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-decoration/dynamic-underline-vertical-align-quirks-2.html
blob: 9f0ca070a72c839979813228b3050b956ffdf5b5 (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);
</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>