summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/883568-1.html
blob: b64aaa1f9bf509ff375c03a3dc9eec82c56ecbb3 (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
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<style>
#wrapper {
  overflow: hidden;
}
#testDiv1 {
  width: 500px;
  height: 100px;
  position: relative;
  overflow: hidden;
}
</style>
<script>
window.addEventListener("MozReftestInvalidate", function() {
  testDiv1.style.left = "-500px";
  testDiv1.style.transform = "translateX(500px)";
  document.documentElement.removeAttribute("class");
}, false);
</script>
</head>
<body>
<div id="wrapper">
  <div id="testDiv1" style="background:yellow;"></div>
</div>
</body>
</html>