chromium/third_party/blink/web_tests/paint/invalidation/svg/add-background-property-on-root.html

<!DOCTYPE html>
<script src="../resources/text-based-repaint.js"></script>
<script>
window.testIsAsync = true;
window.onload = runRepaintAndPixelTest;

function repaintTest() {
  setTimeout(function() {
    requestAnimationFrame(function() {
      document.querySelector('svg').style.background = "green";
      if (window.testRunner)
        finishRepaintTest();
    });
  }, 0);
};
</script>
<div style="width: 100px; height: 100px; background: red">
  <svg width="100" height="100"></svg>
</div>