chromium/third_party/blink/web_tests/paint/invalidation/compositing/stop-painting-onto-scrolling-contents.html

<!DOCTYPE html>
Passes if the green background remains when the shadow disappears.
<div id="target" style="width: 200px; height: 200px; background-color: green;
                        overflow: auto; will-change: transform;
                        box-shadow: 10px 10px red">
  <div style="height: 500px"></div>
</div>
<script src="../../../resources/run-after-layout-and-paint.js"></script>
<script>
runAfterLayoutAndPaint(function() {
  target.style.boxShadow = 'none';
}, true);
</script>