I wrote a simple progress bar code to demonstrate the problem:
Line animation starts after click
<style>
body{text-align:center;font-family:sans-serif;background:silver;}
svg{width:30%;}
</style>
<svg id="svg1" viewbox="0 0 100 100">
<circle cx="50" cy="50" r="40" fill="transparent" stroke="#fff" stroke-width="8"/>
<path id="progress" stroke-dasharray="251.2" stroke-dashoffset="251.2" stroke-width="8" stroke="#4596AB" stroke-linecap="round" fill="none"
d="M50 10
a 40 40 0 0 1 0 80
a 40 40 0 0 1 0 -80">
<animate attributeName="stroke-dashoffset" begin="svg1.click" dur="4s" values="251.2;0;251.2" fill="freeze" />
</path>
</svg>
When I assign the stroke-linecap ="round" attribute, a circle appears at the beginning of the line. In this case, the line has zero length.
With other values for example stroke-linecap ="butt" this effect does not occur.
How to remove a circle at the start of a line with stroke-linecap = "round"?
Note: This effect is not observed here in the snippet, but is clearly visible in the browser, in a separately saved file
