blob: bd2c60f7dcd094af1d924cd6519740eb99c16b71 [file] [log] [blame]
<!DOCTYPE html>
<html>
<style>
.composited {
transform: translateZ(0);
}
.border-radius {
border-radius: 50%;
}
</style>
<!-- There should be a green circle on this page -->
<body>
<img class="composited" onload="load(this)" src="../../images/resources/green-256x256.jpg">
</body>
<script>
function load(element) {
element.classList.add('border-radius');
setTimeout(done, 0);
}
function done() {
if (window.testRunner)
testRunner.notifyDone();
}
if (window.testRunner) {
testRunner.waitUntilDone();
}
</script>
</html>