2013-08-10 20:55:29 +04:00
|
|
|
<!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");
|
2017-01-17 13:50:25 +03:00
|
|
|
});
|
2013-08-10 20:55:29 +04:00
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="wrapper">
|
|
|
|
<div id="testDiv1" style="background:yellow;"></div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|