blob: 526883db0a138d1c0cef0dd4e8266977e6410d7f [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
div {
position: absolute;
top: 0;
left: 0;
width: 100px;
height: 100px;
background-color: black;
will-change: transform;
}
div.changed {
rotate: 30deg;
}
</style>
</head>
<body>
<div></div>
<script>
if (window.testRunner)
window.testRunner.waitUntilDone();
requestAnimationFrame(() => {
document.querySelector("div").classList.add("changed");
if (window.testRunner)
window.testRunner.notifyDone();
});
</script>
</body>
</html>