summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-decoration/dynamic-underline-vertical-align-standards-1.html
blob: 64ca1f12521324b360c5c0da70912f9c60b951a8 (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
<!DOCTYPE html>
<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</span> line has a bottom vertical align span. <br />
<span class="align-top">This</span> line has a top vertical align span.
</p>
</body>
</html>