summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/883568-1.html
blob: e31044263766bf632f3085107afde1b00c057085 (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");
});
</script>
</head>
<body>
<div id="wrapper">
  <div id="testDiv1" style="background:yellow;"></div>
</div>
</body>
</html>