chromium/third_party/blink/web_tests/paint/invalidation/selection/selection-in-composited-scrolling-container.html

<!DOCTYPE html>
<script src="../../../resources/run-after-layout-and-paint.js"></script>
<script src="../resources/text-based-repaint.js"></script>
<input id="target" size="5"  value="test test test">
<script>
window.testIsAsync = true;
onload = runRepaintAndPixelTest;
if (window.internals)
  internals.settings.setPreferCompositingToLCDTextEnabled(true);

function repaintTest() {
  target.focus();
  target.scrollLeft = 200;
  runAfterLayoutAndPaint(function() {
      target.setSelectionRange(5, 10);
      finishRepaintTest();
  });
}
</script>