chromium/third_party/blink/web_tests/paint/invalidation/svg/hairline-stroke-squarecap.svg

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()">
<script xlink:href="../resources/text-based-repaint.js"></script>

<path id="path" fill="none" stroke="green" stroke-width="0.8" stroke-linecap="square" d="M 100 100 h100 v100 h-100 z"/>

<script>
    function repaintTest() {
        document.getElementById('path').setAttribute('transform', 'translate(100.5, 100.5)');
    }
</script>
</svg>