summaryrefslogtreecommitdiffstats
path: root/layout/reftests/backgrounds/background-redraw-237766.html
blob: 6ed0fa8b52ae72d7f501ce577222aa07e246ab65 (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
28
29
30
31
32
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html class="reftest-wait">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">


<style type="text/css">
#test {position: absolute; right: 0; padding-left: 16px; background:
       url(blue-16x20.png) bottom left no-repeat}
b {display: none}
span {padding: 0 7.2px}
</style>

<script type="text/javascript">
// see https://bugzilla.mozilla.org/show_bug.cgi?id=237766

window.addEventListener("MozReftestInvalidate", doTest, false);
// in order to reproduce this bug on the original build, which 
// doesn't support MozReftestInvalidate
setTimeout(doTest, 5000);

function doTest() {
  document.getElementById("test1").style.borderBottomWidth = "1px";
  document.documentElement.className = "";
}
</script>

</head><body>
<div id="test">
   <span id="test1">test1</span><b>|</b><span>test2</span>
</div>
</body></html>