chromium/third_party/blink/web_tests/paint/invalidation/force-dark-mode.html

<!DOCTYPE html>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
onload = () => {
  runAfterLayoutAndPaint(() => {
    internals.settings.setForceDarkModeEnabled(true);
  }, true);
};
</script>
<div style="width: 2000px; height: 2000px">
Text
  <div style="width: 200px; height: 200px; overflow: scroll; background: white">
    <div style="width: 2000px; height: 2000px">Scroller with white background</div>
  </div>
  <div style="width: 200px; height: 200px; overflow: scroll">
    <div style="width: 2000px; height: 2000px">Scroller with transparent background</div>
  </div>
</div>