Bug 1934520 - [devtools] Avoid errors in document-events webconsole listeners for...
[gecko.git] / layout / reftests / text-decoration / dynamic-underline-vertical-align-standards-1.html
blob64ca1f12521324b360c5c0da70912f9c60b951a8
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <script type="text/javascript">
5 function addUnderline() {
6 var element = document.getElementById("dynamicUnderline");
7 element.style.textDecoration = "underline";
8 document.documentElement.removeAttribute("class");
10 document.addEventListener('MozReftestInvalidate', addUnderline);
11 </script>
12 <style>
13 .align-bottom {
14 vertical-align: bottom;
16 .align-top {
17 vertical-align: top;
19 </style>
20 </head>
21 <body>
22 <p id="dynamicUnderline">
23 <span class="align-bottom">This</span> line has a bottom vertical align span. <br />
24 <span class="align-top">This</span> line has a top vertical align span.
25 </p>
26 </body>
27 </html>