<!DOCTYPE html>
<div id="clipper" style="position: absolute; width: 100px; height: 100px;
background-color: green; clip: rect(25px 75px 75px 25px)">
</div>
<script src="../../../resources/run-after-layout-and-paint.js"></script>
<script>
runAfterLayoutAndPaint(function() {
clipper.style.position = 'static';
}, true);
</script>