<!DOCTYPE html>
<iframe id="iframe" style="width: 200px; height: 200px; resize: both; will-change: transform"></iframe>
<script src="../../../resources/run-after-layout-and-paint.js"></script>
<script>
runAfterLayoutAndPaint(function() {
iframe.style.width = '400px';
}, true);
</script>