<!DOCTYPE html> | |
<div id="container" style="width: 200px; height: 200px; border-radius: 80px; overflow: auto; will-change: transform"> | |
<div style="height: 1000px; background: blue"></div> | |
</div> | |
<script src="../../../resources/run-after-layout-and-paint.js"></script> | |
<script> | |
runAfterLayoutAndPaint(function() { | |
container.style.height = '400px'; | |
}, true); | |
</script> |