-
It doesn't seem to be stated explicitly anywhere I can find, but SVG masks don't work on lines rendered with strokes. They work on elements rendered with fills. `clip-path`s work on stroke-rendered elements like lines (and presumably paths or rects without fills).