blob: f3401b6ce660fb6207d8b91f3c526ebf6c6c07d6 [file] [log] [blame]
<!DOCTYPE html>
<body>
<style>
div {
position: absolute;
height: 100px;
top: 0;
}
</style>
<div id="target" style="left: 0; width: 1px; background-color: red;"></div>
<div style="left: 1px; width: 798px; background-color: black;"></div>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
const target = document.getElementById("target");
target.style.transform = "translateX(799px)";
setTimeout(() => {
target.style.removeProperty("transform");
target.style.transition = "transform 10s linear";
setTimeout(() => {
if (window.testRunner)
testRunner.notifyDone();
}, 100);
});
</script>
</body>