mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
886a720461
MozReview-Commit-ID: BaxNJGStRCM --HG-- extra : rebase_source : a346c9aa3d582fa8bd5052a963fd01b8b7a3ff22
37 lines
756 B
HTML
37 lines
756 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<style>
|
|
div {
|
|
width: 200px;
|
|
height: 200px;
|
|
}
|
|
.sort-marker {
|
|
position: fixed;
|
|
background-color: green;
|
|
}
|
|
.inner {
|
|
position: absolute;
|
|
background-color: blue;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="sort-marker"></div>
|
|
<div style="perspective: 200px">
|
|
<div class="inner" style="left: 5px; top: 5px;"></div>
|
|
<div class="inner" id="move" style="left: 220px;"></div>
|
|
</div>
|
|
<div class="sort-marker" style="left: 20px; top: 20px;"></div>
|
|
|
|
<script>
|
|
function doTest() {
|
|
document.getElementById("move").style.left = "221px";
|
|
document.documentElement.removeAttribute('class');
|
|
}
|
|
window.addEventListener("MozReftestInvalidate", doTest);
|
|
</script>
|
|
</body>
|
|
</html>
|